summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorSepalani <sepalani@hotmail.fr>2018-03-22 09:24:58 +0400
committerSepalani <sepalani@hotmail.fr>2018-03-22 09:24:58 +0400
commit4ed06da2b4ba15d078f44387cbde50bb83878ee0 (patch)
treec74d6184be174ab170031243c91fdac2da69ba2b /Source/Core
parent682a6117b51de2fa22d05d93a4300729aeb834c4 (diff)
DSP: Fix typos in DSP LoadStore doc
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/DSP/Interpreter/DSPIntLoadStore.cpp4
-rw-r--r--Source/Core/Core/DSP/Jit/x64/DSPJitLoadStore.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Core/DSP/Interpreter/DSPIntLoadStore.cpp b/Source/Core/Core/DSP/Interpreter/DSPIntLoadStore.cpp
index f928a04496..25add808b7 100644
--- a/Source/Core/Core/DSP/Interpreter/DSPIntLoadStore.cpp
+++ b/Source/Core/Core/DSP/Interpreter/DSPIntLoadStore.cpp
@@ -14,7 +14,7 @@ namespace Interpreter
{
// SRS @M, $(0x18+S)
// 0010 1sss mmmm mmmm
-// Move value from register $(0x18+D) to data memory pointed by address
+// Move value from register $(0x18+S) to data memory pointed by address
// CR[0-7] | M. That is, the upper 8 bits of the address are the
// bottom 8 bits from CR, and the lower 8 bits are from the 8-bit immediate.
// Note: pc+=2 in duddie's doc seems wrong
@@ -97,7 +97,7 @@ void lrr(const UDSPInstruction opc)
// LRRD $D, @$S
// 0001 1000 1ssd 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.
// Decrement register $S.
void lrrd(const UDSPInstruction opc)
{
diff --git a/Source/Core/Core/DSP/Jit/x64/DSPJitLoadStore.cpp b/Source/Core/Core/DSP/Jit/x64/DSPJitLoadStore.cpp
index 6db4cbefbc..bf46a9a6cf 100644
--- a/Source/Core/Core/DSP/Jit/x64/DSPJitLoadStore.cpp
+++ b/Source/Core/Core/DSP/Jit/x64/DSPJitLoadStore.cpp
@@ -16,7 +16,7 @@ namespace DSP::JIT::x64
{
// SRS @M, $(0x18+S)
// 0010 1sss mmmm mmmm
-// Move value from register $(0x18+D) to data memory pointed by address
+// Move value from register $(0x18+S) to data memory pointed by address
// CR[0-7] | M. That is, the upper 8 bits of the address are the
// bottom 8 bits from CR, and the lower 8 bits are from the 8-bit immediate.
// Note: pc+=2 in duddie's doc seems wrong
@@ -128,7 +128,7 @@ void DSPEmitter::lrr(const UDSPInstruction opc)
// LRRD $D, @$S
// 0001 1000 1ssd 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.
// Decrement register $S.
void DSPEmitter::lrrd(const UDSPInstruction opc)
{