We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
LMS (Super FX): Difference between revisions
From SnesLab
(what it stands for) |
(added example) |
||
Line 43: | Line 43: | ||
LMS Rn, (yy) | LMS Rn, (yy) | ||
</pre> | </pre> | ||
==== Example ==== | |||
Let: | |||
(70:1aah) = 32h | |||
(70:1abh) = 92h | |||
RAMBR = 70h | |||
After executing this program: | |||
Syntax Opcode | |||
LMS R<sub>3</sub>, (1aah) 3d a3 d5 | |||
We have: | |||
R<sub>3</sub> = 9232h | |||
=== See Also === | === See Also === |
Revision as of 00:41, 10 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | ROM Speed | RAM Speed | Cache Speed | ||
3DAnkk | 3 bytes | 17 cycles | 17 cycles | 10 cycle |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . | . | . | . |
LMS (Load from raM, Short address) is a Super FX instruction that is a short LM.
Syntax
LMS Rn, (yy)
Example
Let:
(70:1aah) = 32h (70:1abh) = 92h RAMBR = 70h
After executing this program:
Syntax Opcode LMS R3, (1aah) 3d a3 d5
We have:
R3 = 9232h
See Also
External Links
- Official Nintendo documentation on LMS: 9.51 on page 2-9-71 of Book II
- example: page 2-9-72 of Book II, lbid