Rework *memoryi implementation to avoid alignment faults during Thumb disassembly on ARMv6+
Detail: s/Debugger - Reworked MemoryI_Code: * Avoid alignment faults when disassembling Thumb instructions by using LDRH or LDR-and-shift depending on compile-time architecture * Split ARM & Thumb disassembly into two seperate paths to (perhaps) increase readability * Cleaned up the code so it only reads each memory location once Admin: Tested on rev C2 beagleboard. Current thumb disassembler looks like it could do with a bit of an overhaul when full support for the 32bit encodings is added. *memoryi code could also be made a bit nicer if we don't mind thumb disassembly failing if attempted on a CPU that can't (reliably) LDRH. Version 1.81. Tagged as 'Debugger-1_81'
Showing with 74 additions and 44 deletions