diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-07-15 23:39:48 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-07-15 23:39:48 +0000 |
commit | b71e3aff6d239857523625846b9682168eaa9472 (patch) | |
tree | 6c2edad21e5820c4cca70f6220334ef4165e453e /src/target/arm966e.c | |
parent | 309870e414548e3cd6634819490239a2efb85a0e (diff) | |
download | openocd+libswd-b71e3aff6d239857523625846b9682168eaa9472.tar.gz openocd+libswd-b71e3aff6d239857523625846b9682168eaa9472.tar.bz2 openocd+libswd-b71e3aff6d239857523625846b9682168eaa9472.tar.xz openocd+libswd-b71e3aff6d239857523625846b9682168eaa9472.zip |
David Brownell <david-b@pacbell.net>:
Change layout of Thumb disassembly to work better with Thumb2:
- Move opcode to the left, allowing space for four hex bytes:
* after address, two spaces not one tab (taking 6 spaces)
* after 2-byte opcode, four spaces before tab
- Also, after opcode mnemonic use a tab not a space, to make
operands line up
Sample output (after some patches decoding a few 32-bit instructions):
0x00003e5a 0xf4423200 ORR r2, r2, #131072 ; 0x20000
0x00003e5e 0x601a STR r2, [r3, #0x0]
0x00003e60 0x2800 CMP r0, #0x00
0x00003e62 0xd1f3 BNE 0x00003e4c
0x00003e64 0xf008fa38 BL 0x0000c2d8
The affected lines of code now wrap at sane margins too.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2531 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm966e.c')
0 files changed, 0 insertions, 0 deletions