mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 22:56:52 +01:00
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:
parent
ee4de8a9b6
commit
c8fbc3941d
7
Externals/Bochs_disasm/PowerPCDisasm.cpp
vendored
7
Externals/Bochs_disasm/PowerPCDisasm.cpp
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user