Fix the disassembler (fmr instruction)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3111 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LinesPrower 2009-04-30 17:12:07 +00:00
parent ee4de8a9b6
commit c8fbc3941d
1 changed files with 6 additions and 1 deletions

View File

@ -888,6 +888,11 @@ typedef unsigned int ppc_word;
ill(dp,in); 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) static void fdab(struct DisasmPara_PPC *dp,ppc_word in,const char *name,int mask)
/* indexed float instruction: xxxx fD,rA,rB */ /* indexed float instruction: xxxx fD,rA,rB */
@ -2153,7 +2158,7 @@ typedef unsigned int ppc_word;
break; break;
case 72: case 72:
fdabc(dp,in,"mr",10,0); fmr(dp,in);
break; break;
case 134: case 134: