diff options
author | Anthony Green <green@moxielogic.com> | 2013-03-18 15:49:23 -0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-03-23 14:25:41 +0000 |
commit | bd86a88eedf3fd4ff55664cfabea7d6400e5fbda (patch) | |
tree | 904abe6fe402ece146629d4d693297d98e340299 /disas.c | |
parent | 525bd324c282c68ff95e389acd647ae115fd003c (diff) | |
download | qemu-bd86a88eedf3fd4ff55664cfabea7d6400e5fbda.tar.gz qemu-bd86a88eedf3fd4ff55664cfabea7d6400e5fbda.tar.bz2 qemu-bd86a88eedf3fd4ff55664cfabea7d6400e5fbda.zip |
Add moxie disassembler
Signed-off-by: Anthony Green <green@moxielogic.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'disas.c')
-rw-r--r-- | disas.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -256,6 +256,9 @@ void target_disas(FILE *out, CPUArchState *env, target_ulong code, #elif defined(TARGET_MICROBLAZE) s.info.mach = bfd_arch_microblaze; print_insn = print_insn_microblaze; +#elif defined(TARGET_MOXIE) + s.info.mach = bfd_arch_moxie; + print_insn = print_insn_moxie; #elif defined(TARGET_LM32) s.info.mach = bfd_mach_lm32; print_insn = print_insn_lm32; @@ -462,6 +465,9 @@ void monitor_disas(Monitor *mon, CPUArchState *env, #elif defined(TARGET_S390X) s.info.mach = bfd_mach_s390_64; print_insn = print_insn_s390; +#elif defined(TARGET_MOXIE) + s.info.mach = bfd_arch_moxie; + print_insn = print_insn_moxie; #elif defined(TARGET_LM32) s.info.mach = bfd_mach_lm32; print_insn = print_insn_lm32; |