aboutsummaryrefslogtreecommitdiff
path: root/opcodes/h8300-dis.c
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/h8300-dis.c
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/h8300-dis.c')
-rw-r--r--opcodes/h8300-dis.c5
1 files changed, 4 insertions, 1 deletions
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);