Add support for h8300hn and h8300sn

This commit is contained in:
Nick Clifton 2003-05-12 11:57:32 +00:00
parent 7ab5f2edf6
commit 049f8936e9
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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;