* mn10300-dis.c (disasemble): Finish conversion to '$' as
authorJeff Law <law@redhat.com>
Tue, 26 Nov 1996 23:04:02 +0000 (23:04 +0000)
committerJeff Law <law@redhat.com>
Tue, 26 Nov 1996 23:04:02 +0000 (23:04 +0000)
        register prefix.
Fixes improper disassembly of movm instructions.

opcodes/ChangeLog
opcodes/mn10300-dis.c

index 43b88e7f442240384617f01a563bc48033430515..b2925a89e0dd0a3fea39ccc4b29d93076de41950 100644 (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).
 
index 9ed8327b5129c448327af54c365e7e2ca0fc9832..afae501c2841eb1346f6c61430624825d7b087b7 100644 (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, "]");