Skip to content
Permalink
Browse files
Merge pull request #6487 from sepalani/dsp-doc
DSP: Fix typos in DSP LoadStore doc
  • Loading branch information
leoetlino committed Mar 22, 2018
2 parents ea82176 + 4ed06da commit 2e92d95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -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)
{
@@ -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)
{

0 comments on commit 2e92d95

Please sign in to comment.