* mn10300-dis.c (disasemble): Finish conversion to '$' as

register prefix.
Fixes improper disassembly of movm instructions.
This commit is contained in:
Jeff Law 1996-11-26 23:04:02 +00:00
parent 73e6529893
commit 069279b34a
2 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,8 @@
Tue Nov 26 13:24:17 1996 Jeffrey A Law (law@cygnus.com)
* mn10300-dis.c (disasemble): Finish conversion to '$' as
register prefix.
* mn10300-opc.c (mn10300_opcodes): Fix mask field for
mov am,(imm32,sp).

View File

@ -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, "]");