From c8fbc3941d3b58b4f56ff1c1fb317f0b716310c7 Mon Sep 17 00:00:00 2001 From: LinesPrower Date: Thu, 30 Apr 2009 17:12:07 +0000 Subject: [PATCH] Fix the disassembler (fmr instruction) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3111 8ced0084-cf51-0410-be5f-012b33b47a6e --- Externals/Bochs_disasm/PowerPCDisasm.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Externals/Bochs_disasm/PowerPCDisasm.cpp b/Externals/Bochs_disasm/PowerPCDisasm.cpp index d0c684d056..a2b22dea7f 100644 --- a/Externals/Bochs_disasm/PowerPCDisasm.cpp +++ b/Externals/Bochs_disasm/PowerPCDisasm.cpp @@ -888,6 +888,11 @@ typedef unsigned int ppc_word; ill(dp,in); } + static void fmr(struct DisasmPara_PPC *dp,ppc_word in) + { + sprintf(dp->opcode, "fmr%s", rcsel[in&1]); + sprintf(dp->operands, "f%d, f%d", (int)PPCGETD(in), (int)PPCGETB(in)); + } static void fdab(struct DisasmPara_PPC *dp,ppc_word in,const char *name,int mask) /* indexed float instruction: xxxx fD,rA,rB */ @@ -2153,7 +2158,7 @@ typedef unsigned int ppc_word; break; case 72: - fdabc(dp,in,"mr",10,0); + fmr(dp,in); break; case 134: