* a29k-dis.c (print_insn): Print the opcode.
authorIan Lance Taylor <ian@airs.com>
Thu, 15 Sep 1994 20:46:46 +0000 (20:46 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 15 Sep 1994 20:46:46 +0000 (20:46 +0000)
PR 4779.

opcodes/ChangeLog
opcodes/a29k-dis.c

index 8e8840e..74ed9f2 100644 (file)
@@ -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.
index 3675979..2766902 100644 (file)
@@ -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");