aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-06-09 21:30:56 +0000
committerNick Clifton <nickc@redhat.com>1998-06-09 21:30:56 +0000
commitc36224ac5acf470603dcf0af63a3714fd634fc6d (patch)
treec9936229d915b45155be17a577f0c28960a48b35
parentfadce6f6964a3b68c8ce3c7963c432b43935217d (diff)
downloadgdb-c36224ac5acf470603dcf0af63a3714fd634fc6d.zip
gdb-c36224ac5acf470603dcf0af63a3714fd634fc6d.tar.gz
gdb-c36224ac5acf470603dcf0af63a3714fd634fc6d.tar.bz2
Disassemble 'add rX, rY, #0' as 'mov rX, rY'.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/arm-opc.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index f0c2c4e..3c5b2be 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jun 9 14:27:57 1998 Nick Clifton <nickc@cygnus.com>
+
+ * arm-opc.h (thumb_opcodes): Display 'add rx, rY, #0' insns as
+ 'mov rX, rY'. Patch courtesy of Tony Thompson <Tony.Thompson@arm.com>
+
Mon Jun 8 18:17:21 1998 Nick Clifton <nickc@cygnus.com>
* d30v-opc.c: Remove FALG_MUL32 attribyte from MULX2H insn.
diff --git a/opcodes/arm-opc.h b/opcodes/arm-opc.h
index 4399137..f49298f 100644
--- a/opcodes/arm-opc.h
+++ b/opcodes/arm-opc.h
@@ -173,6 +173,7 @@ static struct thumb_opcode thumb_opcodes[] =
{
/* Thumb instructions */
{0x46C0, 0xFFFF, "nop\t\t\t(mov r8,r8)"}, /* format 5 instructions do not update the PSR */
+ {0x1C00, 0xFFC0, "mov\t%0-2r, %3-5r\t\t(add %0-2r, %3-5r, #%6-8d)"},
/* format 4 */
{0x4000, 0xFFC0, "and\t%0-2r, %3-5r"},
{0x4040, 0xFFC0, "eor\t%0-2r, %3-5r"},