aboutsummaryrefslogtreecommitdiff
path: root/opcodes/a29k-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/a29k-dis.c')
-rw-r--r--opcodes/a29k-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/a29k-dis.c b/opcodes/a29k-dis.c
index 574acab..3675979 100644
--- a/opcodes/a29k-dis.c
+++ b/opcodes/a29k-dis.c
@@ -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':