Fixes disassembly of paired store instructions.

Someone thought it would be a good idea to have the location as the first argument on the instruction.
Changed it to how it is supposed to be disassembled.
This commit is contained in:
Ryan Houdek 2015-01-18 16:37:43 -06:00
parent 37a770bb9f
commit 596d3fd5f2
1 changed files with 3 additions and 3 deletions

View File

@ -994,7 +994,7 @@ void GekkoDisassembler::ps(u32 inst)
case 7: case 7:
m_opcode = inst & 0x40 ? "psq_stux" : "psq_stx"; m_opcode = inst & 0x40 ? "psq_stux" : "psq_stx";
m_operands = StringFromFormat("(r%u + r%u), p%u, %d, qr%d", RA, RB, FS, WX, IX); m_operands = StringFromFormat("p%u, r%u, r%u, %d, qr%d", RA, RB, FS, RA, RB, WX, IX);
return; return;
case 18: case 18:
@ -1167,12 +1167,12 @@ void GekkoDisassembler::ps_mem(u32 inst)
case 60: case 60:
m_opcode = "psq_st"; m_opcode = "psq_st";
m_operands = StringFromFormat("%i(r%u), p%u, %d, qr%d", SEX12(inst & 0xFFF), RA, RS, W, I); m_operands = StringFromFormat("p%u, %i(r%u), %d, qr%d", RS, SEX12(inst & 0xFFF), RA, W, I);
break; break;
case 61: case 61:
m_opcode = "psq_stu"; m_opcode = "psq_stu";
m_operands = StringFromFormat("%i(r%u), p%u, %d, qr%d", SEX12(inst & 0xFFF), RA, RS, W, I); m_operands = StringFromFormat("p%u, %i(r%u), %d, qr%d", RS, SEX12(inst & 0xFFF), RA, W, I);
break; break;
} }
} }