* ms1.opc (print_dollarhex): Correct format string.
authorAlan Modra <amodra@gmail.com>
Thu, 14 Jul 2005 13:59:51 +0000 (13:59 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 14 Jul 2005 13:59:51 +0000 (13:59 +0000)
cpu/ChangeLog
cpu/ms1.opc

index f83e869..d62ab5a 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * ms1.opc (print_dollarhex): Correct format string.
+
 2005-07-06  Alan Modra  <amodra@bigpond.net.au>
 
        * iq2000.cpu: Include from binutils cpu dir.
        media-expand-halfword-to-double-semantics, mexpdhd, cmexpdhd,
        cmhtob): Use new operands.
        * frv.opc (CGEN_VERBOSE_ASSEMBLER_ERRORS): Define.
-        (parse_even_register): New function.
+       (parse_even_register): New function.
 
 2003-06-03  Nick Clifton  <nickc@redhat.com>
 
index f61de6c..3655f14 100644 (file)
@@ -422,7 +422,7 @@ print_dollarhex (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
 {
   disassemble_info *info = (disassemble_info *) dis_info;
 
-  info->fprintf_func (info->stream, "$%x", value);
+  info->fprintf_func (info->stream, "$%lx", value);
 
   if (0)
     print_normal (cd, dis_info, value, attrs, pc, length);