summaryrefslogtreecommitdiff
path: root/opcodes/z8k-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-08-22 19:22:35 +0000
committerNick Clifton <nickc@redhat.com>2002-08-22 19:22:35 +0000
commit1489984027fe63be97159c6e80c0a62caac52e94 (patch)
tree4b5b2f8e42d6112f89d6409406fb5aa10d66f647 /opcodes/z8k-dis.c
parentd9a7f7ab85d9eb1760aec9575b213294b1bcd9dd (diff)
opcodes: Fix definition of "in rd,imm16" opcode.
gas: Adjust ptr variable also in "case 0" case.
Diffstat (limited to 'opcodes/z8k-dis.c')
-rw-r--r--opcodes/z8k-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/z8k-dis.c b/opcodes/z8k-dis.c
index d375e6908d..6c1913892c 100644
--- a/opcodes/z8k-dis.c
+++ b/opcodes/z8k-dis.c
@@ -515,10 +515,10 @@ unparse_instr (instr_data, is_segmented)
break;
case CLASS_BA:
if (is_segmented)
- sprintf (tmp_str, "rr%ld(#%lx)", instr_data->arg_reg[datum_value],
+ sprintf (tmp_str, "rr%ld(#0x%lx)", instr_data->arg_reg[datum_value],
instr_data->immediate);
else
- sprintf (tmp_str, "r%ld(#%lx)", instr_data->arg_reg[datum_value],
+ sprintf (tmp_str, "r%ld(#0x%lx)", instr_data->arg_reg[datum_value],
instr_data->immediate);
strcat (out_str, tmp_str);
break;