aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-07-11 18:30:02 +0000
committerJeff Law <law@redhat.com>1996-07-11 18:30:02 +0000
commitb3ef936e6bc74642ed53c1cb66fccfb013c2ec2b (patch)
treeb6e8cd9966b56163343d27b676e53ed8b8b3edc8 /opcodes
parent81fc72a71afcfb73878803f5f27402c0f96155a5 (diff)
downloadgdb-b3ef936e6bc74642ed53c1cb66fccfb013c2ec2b.zip
gdb-b3ef936e6bc74642ed53c1cb66fccfb013c2ec2b.tar.gz
gdb-b3ef936e6bc74642ed53c1cb66fccfb013c2ec2b.tar.bz2
* 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.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog3
-rw-r--r--opcodes/h8300-dis.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index e1cdd6c..a6af4ac 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 975aba1..7481019 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);