From b3ef936e6bc74642ed53c1cb66fccfb013c2ec2b Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 11 Jul 1996 18:30:02 +0000 Subject: [PATCH] * h8300-dis.c (bfd_h8_disassemble): Print "exr" when we're looking for and find EXR. So we disassemble andc/orc/xorc with exr correctly. --- opcodes/ChangeLog | 3 +++ opcodes/h8300-dis.c | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index e1cdd6c7f2..a6af4aca07 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,8 @@ Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com) + * h8300-dis.c (bfd_h8_disassemble): Print "exr" when + we're looking for and find EXR. + * h8300-dis.c (bfd_h8_disassemble): We don't have a match if we're looking for KBIT and we don't find it. diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c index 975aba114d..7481019252 100644 --- a/opcodes/h8300-dis.c +++ b/opcodes/h8300-dis.c @@ -358,9 +358,12 @@ bfd_h8_disassemble (addr, info, mode) else if (x & CCR) { - fprintf (stream, "ccr"); } + else if (x & EXR) + { + fprintf (stream, "exr"); + } else fprintf (stream, "Hmmmm %x", x); -- 2.34.1