- Extension fixes (Joined work with LM)
- Shuffle fix for my off by one error



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3958 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-08-10 09:20:12 +00:00
parent 9f81006bda
commit 13a901146f
4 changed files with 41 additions and 16 deletions

View File

@ -459,9 +459,9 @@ void addax(const UDSPInstruction& opc)
Update_SR_Register64(acc);
}
// ADDR $acD, $(DSP_REG_AXL0+S)
// ADDR $acD.M, $axS.L
// 0100 0ssd xxxx xxxx
// Adds register $(DSP_REG_AXL0+S) to accumulator $acD register.
// Adds register $axS.L to accumulator $acD register.
void addr(const UDSPInstruction& opc)
{
u8 areg = (opc.hex >> 8) & 0x1;
@ -477,9 +477,9 @@ void addr(const UDSPInstruction& opc)
Update_SR_Register64(acc);
}
// SUBR $acD, $(DSP_REG_AXL0+S)
// SUBR $acD.M, $axS.L
// 0101 0ssd xxxx xxxx
// Subtracts register $(DSP_REG_AXL0+S) from accumulator $acD register.
// Subtracts register $axS.L from accumulator $acD.M register.
void subr(const UDSPInstruction& opc)
{
u8 areg = (opc.hex >> 8) & 0x1;