summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore/Src/DSPInterpreter.cpp
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2009-04-16 16:02:54 +0000
committernakeee <nakeee@gmail.com>2009-04-16 16:02:54 +0000
commit508b32b94f043330fbcf06ae3d7a75ecfd69ff93 (patch)
tree85217a62d146ead2cb1caea4dcd8ea9f63a4465e /Source/Core/DSPCore/Src/DSPInterpreter.cpp
parent9516a6b19e05e4cec2717d073ac7eaf632cd8cac (diff)
dsp: small disasm fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2983 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPInterpreter.cpp')
-rw-r--r--Source/Core/DSPCore/Src/DSPInterpreter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DSPCore/Src/DSPInterpreter.cpp b/Source/Core/DSPCore/Src/DSPInterpreter.cpp
index b0623d2aa3..e9499c23a2 100644
--- a/Source/Core/DSPCore/Src/DSPInterpreter.cpp
+++ b/Source/Core/DSPCore/Src/DSPInterpreter.cpp
@@ -272,7 +272,7 @@ void mrr(const UDSPInstruction& opc)
// LRR $D, @$S
// 0001 1000 0ssd dddd
-// Move value from data memory pointed by addressing register $S toregister $D.
+// Move value from data memory pointed by addressing register $S to register $D.
// FIXME: Perform additional operation depending on destination register.
void lrr(const UDSPInstruction& opc)
{
@@ -935,7 +935,7 @@ void andi(const UDSPInstruction& opc)
// Logic OR of accumulator mid part $acD.m with immediate value I.
void ori(const UDSPInstruction& opc)
{
- u8 reg = 0x1e + ((opc.hex >> 8) & 0x1);
+ u8 reg = DSP_REG_ACM0 + ((opc.hex >> 8) & 0x1);
u16 imm = dsp_fetch_code();
g_dsp.r[reg] |= imm;
@@ -1423,7 +1423,7 @@ void sbclr(const UDSPInstruction& opc)
}
// SBSET #I
-// 0001 0010 0000 0iiii
+// 0001 0010 0000 0iii
// Set bit of status register $sr. Bit number is calculated by adding 6 to
// immediate value I.
void sbset(const UDSPInstruction& opc)