aboutsummaryrefslogtreecommitdiff
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)
downloadgdb-1489984027fe63be97159c6e80c0a62caac52e94.zip
gdb-1489984027fe63be97159c6e80c0a62caac52e94.tar.gz
gdb-1489984027fe63be97159c6e80c0a62caac52e94.tar.bz2
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 d375e69..6c19138 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;