aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-09-15 20:46:46 +0000
committerIan Lance Taylor <ian@airs.com>1994-09-15 20:46:46 +0000
commite96a2b1d468ec328e24cdbf0585ec754d9d941fa (patch)
tree27f5ee7c0d0b004f9bdede1981276a29816fe68a /opcodes
parent7aa8f49656c7c82b933a78d17ffed157feeff50f (diff)
downloadfsf-binutils-gdb-e96a2b1d468ec328e24cdbf0585ec754d9d941fa.zip
fsf-binutils-gdb-e96a2b1d468ec328e24cdbf0585ec754d9d941fa.tar.gz
fsf-binutils-gdb-e96a2b1d468ec328e24cdbf0585ec754d9d941fa.tar.bz2
* a29k-dis.c (print_insn): Print the opcode.
PR 4779.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/a29k-dis.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 8e8840e..74ed9f2 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
+
+ * a29k-dis.c (print_insn): Print the opcode.
+
Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
diff --git a/opcodes/a29k-dis.c b/opcodes/a29k-dis.c
index 3675979..2766902 100644
--- a/opcodes/a29k-dis.c
+++ b/opcodes/a29k-dis.c
@@ -151,6 +151,8 @@ print_insn (memaddr, info)
(*find_byte_func) (insn, &insn0, &insn8, &insn16, &insn24);
+ printf ("%02x%02x%02x%02x ", insn24, insn16, insn8, insn0);
+
/* Handle the nop (aseq 0x40,gr1,gr1) specially */
if ((insn24==0x70) && (insn16==0x40) && (insn8==0x01) && (insn0==0x01)) {
(*info->fprintf_func) (info->stream,"nop");