aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arm-opc.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-03-29 18:23:57 +0000
committerNick Clifton <nickc@redhat.com>2000-03-29 18:23:57 +0000
commit67b60d924f866a521ebd815162d02694a60bd87c (patch)
tree0da18067ad207849f22578d767cefd5ffc635bfb /opcodes/arm-opc.h
parent480ff1fb283f4aebf368e17cabe3fa598768474f (diff)
downloadfsf-binutils-gdb-67b60d924f866a521ebd815162d02694a60bd87c.zip
fsf-binutils-gdb-67b60d924f866a521ebd815162d02694a60bd87c.tar.gz
fsf-binutils-gdb-67b60d924f866a521ebd815162d02694a60bd87c.tar.bz2
Disassemble 0xde.. to "bal" [branch always] instead of "undefined".
Diffstat (limited to 'opcodes/arm-opc.h')
-rw-r--r--opcodes/arm-opc.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/opcodes/arm-opc.h b/opcodes/arm-opc.h
index 2ea3e13..44a16a4 100644
--- a/opcodes/arm-opc.h
+++ b/opcodes/arm-opc.h
@@ -73,7 +73,8 @@ Thumb specific format options:
/* Note: There is a partial ordering in this table - it must be searched from
the top to obtain a correct match. */
-static struct arm_opcode arm_opcodes[] = {
+static struct arm_opcode arm_opcodes[] =
+{
/* ARM instructions */
{0xe1a00000, 0xffffffff, "nop\t\t\t(mov r0,r0)"},
{0x012FFF10, 0x0ffffff0, "bx%c\t%0-3r"},
@@ -163,7 +164,8 @@ static struct arm_opcode arm_opcodes[] = {
{0x0e000010, 0x0f100010, "mcr%c\t%8-11d, %21-23d, %12-15r, cr%16-19d, cr%0-3d, {%5-7d}"},
{0x0c000000, 0x0e100000, "stc%c%22'l\t%8-11d, cr%12-15d, %A"},
{0x0c100000, 0x0e100000, "ldc%c%22'l\t%8-11d, cr%12-15d, %A"},
- /* the rest */
+
+ /* The rest. */
{0x00000000, 0x00000000, "undefined instruction %0-31x"},
{0x00000000, 0x00000000, 0}
};
@@ -265,7 +267,7 @@ static struct thumb_opcode thumb_opcodes[] =
{0xDC00, 0xFF00, "bgt\t%0-7B"},
{0xDD00, 0xFF00, "ble\t%0-7B"},
/* format 17 */
- {0xDE00, 0xFF00, "undefined"},
+ {0xDE00, 0xFF00, "bal\t%0-7B"},
{0xDF00, 0xFF00, "swi\t%0-7d"},
/* format 9 */
{0x6000, 0xF800, "str\t%0-2r, [%3-5r, #%6-10W]"},