Merge pull request #6487 from sepalani/dsp-doc

DSP: Fix typos in DSP LoadStore doc
This commit is contained in:
Léo Lam 2018-03-22 07:51:29 +01:00 committed by GitHub
commit 2e92d95888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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)
{

View File

@ -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)
{