From: Jeff Law Date: Mon, 25 Nov 1996 18:46:06 +0000 (+0000) Subject: * mn10300-dis.c (disassemble): Use '$' instead of '%' for X-Git-Tag: gdb-4_18~7108 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76783aa31cd58d78cc9383532c75577902b2632e;p=thirdparty%2Fbinutils-gdb.git * mn10300-dis.c (disassemble): Use '$' instead of '%' for register prefix. It's easier for the assembler... --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index c4085149173..1627e053810 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,8 @@ Mon Nov 25 11:17:01 1996 Jeffrey A Law (law@cygnus.com) + * mn10300-dis.c (disassemble): Use '$' instead of '%' for + register prefix. + * mn10300-dis.c (disassemble): Prefix registers with '%'. Wed Nov 20 10:37:13 1996 Jeffrey A Law (law@cygnus.com) diff --git a/opcodes/mn10300-dis.c b/opcodes/mn10300-dis.c index d1e0724ce1a..9ed8327b512 100644 --- a/opcodes/mn10300-dis.c +++ b/opcodes/mn10300-dis.c @@ -333,24 +333,24 @@ disassemble (memaddr, info, insn, extension, size) { value = ((insn >> (operand->shift + extra_shift)) & ((1 << operand->bits) - 1)); - (*info->fprintf_func) (info->stream, "%%d%d", value); + (*info->fprintf_func) (info->stream, "$d%d", value); } else if ((operand->flags & MN10300_OPERAND_AREG) != 0) { value = ((insn >> (operand->shift + extra_shift)) & ((1 << operand->bits) - 1)); - (*info->fprintf_func) (info->stream, "%%a%d", value); + (*info->fprintf_func) (info->stream, "$a%d", value); } else if ((operand->flags & MN10300_OPERAND_SP) != 0) - (*info->fprintf_func) (info->stream, "%%sp"); + (*info->fprintf_func) (info->stream, "$sp"); else if ((operand->flags & MN10300_OPERAND_PSW) != 0) - (*info->fprintf_func) (info->stream, "%%psw"); + (*info->fprintf_func) (info->stream, "$psw"); else if ((operand->flags & MN10300_OPERAND_MDR) != 0) - (*info->fprintf_func) (info->stream, "%%mdr"); + (*info->fprintf_func) (info->stream, "$mdr"); else if ((operand->flags & MN10300_OPERAND_PAREN) != 0) {