From 470210ec83840628ebf30709b503b6649e76d657 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 14 Jul 2005 13:59:51 +0000 Subject: [PATCH] * ms1.opc (print_dollarhex): Correct format string. --- cpu/ChangeLog | 6 +++++- cpu/ms1.opc | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cpu/ChangeLog b/cpu/ChangeLog index f83e869b1c..d62ab5a338 100644 --- a/cpu/ChangeLog +++ b/cpu/ChangeLog @@ -1,3 +1,7 @@ +2005-07-14 Alan Modra + + * ms1.opc (print_dollarhex): Correct format string. + 2005-07-06 Alan Modra * iq2000.cpu: Include from binutils cpu dir. @@ -326,7 +330,7 @@ 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 diff --git a/cpu/ms1.opc b/cpu/ms1.opc index f61de6cd3d..3655f14d45 100644 --- a/cpu/ms1.opc +++ b/cpu/ms1.opc @@ -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); -- 2.11.0