* a29k-dis.c (print_insn): Print 'x' type operand in hex.
authorSteve Chamberlain <sac@cygnus>
Sun, 8 May 1994 00:19:06 +0000 (00:19 +0000)
committerSteve Chamberlain <sac@cygnus>
Sun, 8 May 1994 00:19:06 +0000 (00:19 +0000)
* h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
* sh-dis.c (print_insn_sh): Don't recur endlessly if delay
slot insn is in a delay slot.
* z8k-opc.h: (resflg): Fix patterns.
* h8500-opc.h Fix CR insn patterns.

opcodes/a29k-dis.c

index 574acab..3675979 100644 (file)
@@ -188,7 +188,7 @@ print_insn (memaddr, info)
                  break;
 
                case 'x':
-                 (*info->fprintf_func) (info->stream, "%d", (insn16 << 8) + insn0);
+                 (*info->fprintf_func) (info->stream, "0x%x", (insn16 << 8) + insn0);
                  break;
 
                case 'h':