aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/disassemble.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 97ae91e..54521ea 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-12 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+
+ * disassemble.c (disassembler): Add support for h8300hn and h8300sn.
+
2003-05-09 Alan Modra <amodra@bigpond.net.au>
* i386-dis.c (print_insn): Test intel_syntax against (char) -1 in
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index 1408f39..2d1358e 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -141,9 +141,11 @@ disassembler (abfd)
#endif
#ifdef ARCH_h8300
case bfd_arch_h8300:
- if (bfd_get_mach(abfd) == bfd_mach_h8300h)
+ if (bfd_get_mach (abfd) == bfd_mach_h8300h
+ || bfd_get_mach (abfd) == bfd_mach_h8300hn)
disassemble = print_insn_h8300h;
- else if (bfd_get_mach(abfd) == bfd_mach_h8300s)
+ else if (bfd_get_mach (abfd) == bfd_mach_h8300s
+ || bfd_get_mach (abfd) == bfd_mach_h8300sn)
disassemble = print_insn_h8300s;
else
disassemble = print_insn_h8300;