From 069279b34a20bd09a630651c2a1a31ebc24dfe29 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 26 Nov 1996 23:04:02 +0000 Subject: [PATCH] * mn10300-dis.c (disasemble): Finish conversion to '$' as register prefix. Fixes improper disassembly of movm instructions. --- opcodes/ChangeLog | 3 +++ opcodes/mn10300-dis.c | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 43b88e7f442..b2925a89e0d 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -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). diff --git a/opcodes/mn10300-dis.c b/opcodes/mn10300-dis.c index 9ed8327b512..afae501c284 100644 --- a/opcodes/mn10300-dis.c +++ b/opcodes/mn10300-dis.c @@ -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, "]"); -- 2.30.2