diff options
author | Jeff Law <law@redhat.com> | 1996-11-26 23:04:02 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-11-26 23:04:02 +0000 |
commit | 069279b34a20bd09a630651c2a1a31ebc24dfe29 (patch) | |
tree | 9847a6eb091faf24a76da79cbf2c73c40f409d19 /opcodes/mn10300-dis.c | |
parent | 73e6529893a8146ff7aaaa9b7c2fca8c8817da1e (diff) | |
download | gdb-069279b34a20bd09a630651c2a1a31ebc24dfe29.zip gdb-069279b34a20bd09a630651c2a1a31ebc24dfe29.tar.gz gdb-069279b34a20bd09a630651c2a1a31ebc24dfe29.tar.bz2 |
* mn10300-dis.c (disasemble): Finish conversion to '$' as
register prefix.
Fixes improper disassembly of movm instructions.
Diffstat (limited to 'opcodes/mn10300-dis.c')
-rw-r--r-- | opcodes/mn10300-dis.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/opcodes/mn10300-dis.c b/opcodes/mn10300-dis.c index 9ed8327..afae501 100644 --- a/opcodes/mn10300-dis.c +++ b/opcodes/mn10300-dis.c @@ -377,7 +377,7 @@ disassemble (memaddr, info, insn, extension, size) (*info->fprintf_func) (info->stream, "["); if (value & 0x80) { - (*info->fprintf_func) (info->stream, "%d2"); + (*info->fprintf_func) (info->stream, "$d2"); comma = 1; } @@ -385,7 +385,7 @@ disassemble (memaddr, info, insn, extension, size) { if (comma) (*info->fprintf_func) (info->stream, ","); - (*info->fprintf_func) (info->stream, "%d3"); + (*info->fprintf_func) (info->stream, "$d3"); comma = 1; } @@ -393,7 +393,7 @@ disassemble (memaddr, info, insn, extension, size) { if (comma) (*info->fprintf_func) (info->stream, ","); - (*info->fprintf_func) (info->stream, "%a2"); + (*info->fprintf_func) (info->stream, "$a2"); comma = 1; } @@ -401,7 +401,7 @@ disassemble (memaddr, info, insn, extension, size) { if (comma) (*info->fprintf_func) (info->stream, ","); - (*info->fprintf_func) (info->stream, "%a3"); + (*info->fprintf_func) (info->stream, "$a3"); comma = 1; } @@ -409,7 +409,7 @@ disassemble (memaddr, info, insn, extension, size) { if (comma) (*info->fprintf_func) (info->stream, ","); - (*info->fprintf_func) (info->stream, "%other"); + (*info->fprintf_func) (info->stream, "$other"); comma = 1; } (*info->fprintf_func) (info->stream, "]"); |