/* Select disassembly routine for specified architecture.
- Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005
- Free Software Foundation, Inc.
+ Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
+ 2004, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
#include "sysdep.h"
#include "dis-asm.h"
#define ARCH_mmix
#define ARCH_mn10200
#define ARCH_mn10300
+#define ARCH_ms1
#define ARCH_msp430
#define ARCH_ns32k
#define ARCH_openrisc
#define ARCH_z8k
#define ARCH_frv
#define ARCH_iq2000
+#define ARCH_m32c
#define INCLUDE_SHMEDIA
#endif
+#ifdef ARCH_m32c
+#include "m32c-desc.h"
+#endif
disassembler_ftype
disassembler (abfd)
disassemble = print_insn_maxq_little;
break;
#endif
+#ifdef ARCH_ms1
+ case bfd_arch_ms1:
+ disassemble = print_insn_ms1;
+ break;
+#endif
#ifdef ARCH_msp430
case bfd_arch_msp430:
disassemble = print_insn_msp430;
case bfd_arch_iq2000:
disassemble = print_insn_iq2000;
break;
+#endif
+#ifdef ARCH_m32c
+ case bfd_arch_m32c:
+ disassemble = print_insn_m32c;
+ break;
#endif
default:
return 0;
#ifdef ARCH_tic4x
case bfd_arch_tic4x:
info->skip_zeroes = 32;
+#endif
+#ifdef ARCH_m32c
+ case bfd_arch_m32c:
+ info->endian = BFD_ENDIAN_BIG;
+ if (info->mach == bfd_mach_m16c)
+ info->insn_sets = ISA_M16C;
+ else
+ info->insn_sets = ISA_M32C;
+ break;
#endif
default:
break;