diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-17 01:10:04 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-17 01:10:04 +0000 |
commit | 76b3030c56bcc6b95bb71413d3a5024c22dd4c33 (patch) | |
tree | d251aab328c4d8454f403a41ed3fd600114c3de1 /disas.c | |
parent | 265d3497763842573ab67bf67cedef2062f1b7ec (diff) | |
download | qemu-76b3030c56bcc6b95bb71413d3a5024c22dd4c33.tar.gz qemu-76b3030c56bcc6b95bb71413d3a5024c22dd4c33.tar.bz2 qemu-76b3030c56bcc6b95bb71413d3a5024c22dd4c33.zip |
mipsel disas fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1705 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'disas.c')
-rw-r--r-- | disas.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -187,7 +187,11 @@ void target_disas(FILE *out, target_ulong code, target_ulong size, int flags) #endif print_insn = print_insn_ppc; #elif defined(TARGET_MIPS) +#ifdef TARGET_WORDS_BIGENDIAN print_insn = print_insn_big_mips; +#else + print_insn = print_insn_little_mips; +#endif #elif defined(TARGET_M68K) print_insn = print_insn_m68k; #else @@ -381,7 +385,11 @@ void monitor_disas(CPUState *env, #endif print_insn = print_insn_ppc; #elif defined(TARGET_MIPS) +#ifdef TARGET_WORDS_BIGENDIAN print_insn = print_insn_big_mips; +#else + print_insn = print_insn_little_mips; +#endif #elif defined(TARGET_M68K) print_insn = print_insn_m68k; #else |