Commit 76b3030c authored by bellard's avatar bellard
Browse files

mipsel disas fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1705 c046a42c-6fe2-441c-8c8c-71466251a162
parent 265d3497
...@@ -187,7 +187,11 @@ void target_disas(FILE *out, target_ulong code, target_ulong size, int flags) ...@@ -187,7 +187,11 @@ void target_disas(FILE *out, target_ulong code, target_ulong size, int flags)
#endif #endif
print_insn = print_insn_ppc; print_insn = print_insn_ppc;
#elif defined(TARGET_MIPS) #elif defined(TARGET_MIPS)
#ifdef TARGET_WORDS_BIGENDIAN
print_insn = print_insn_big_mips; print_insn = print_insn_big_mips;
#else
print_insn = print_insn_little_mips;
#endif
#elif defined(TARGET_M68K) #elif defined(TARGET_M68K)
print_insn = print_insn_m68k; print_insn = print_insn_m68k;
#else #else
...@@ -381,7 +385,11 @@ void monitor_disas(CPUState *env, ...@@ -381,7 +385,11 @@ void monitor_disas(CPUState *env,
#endif #endif
print_insn = print_insn_ppc; print_insn = print_insn_ppc;
#elif defined(TARGET_MIPS) #elif defined(TARGET_MIPS)
#ifdef TARGET_WORDS_BIGENDIAN
print_insn = print_insn_big_mips; print_insn = print_insn_big_mips;
#else
print_insn = print_insn_little_mips;
#endif
#elif defined(TARGET_M68K) #elif defined(TARGET_M68K)
print_insn = print_insn_m68k; print_insn = print_insn_m68k;
#else #else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment