From 76783aa31cd58d78cc9383532c75577902b2632e Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 25 Nov 1996 18:46:06 +0000 Subject: [PATCH] * mn10300-dis.c (disassemble): Use '$' instead of '%' for register prefix. It's easier for the assembler... --- opcodes/ChangeLog | 3 +++ opcodes/mn10300-dis.c | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) 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) { -- 2.30.2