From c36224ac5acf470603dcf0af63a3714fd634fc6d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 9 Jun 1998 21:30:56 +0000 Subject: [PATCH] Disassemble 'add rX, rY, #0' as 'mov rX, rY'. --- opcodes/ChangeLog | 5 +++++ opcodes/arm-opc.h | 1 + 2 files changed, 6 insertions(+) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index f0c2c4e8e7e..3c5b2bea891 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 9 14:27:57 1998 Nick Clifton + + * arm-opc.h (thumb_opcodes): Display 'add rx, rY, #0' insns as + 'mov rX, rY'. Patch courtesy of Tony Thompson + Mon Jun 8 18:17:21 1998 Nick Clifton * d30v-opc.c: Remove FALG_MUL32 attribyte from MULX2H insn. diff --git a/opcodes/arm-opc.h b/opcodes/arm-opc.h index 43991377b64..f49298fb0cd 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"}, -- 2.30.2