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
(The ALT0 state is restored.) |
(linkify Z) |
||
Line 26: | Line 26: | ||
|[[Sign Flag|S]] | |[[Sign Flag|S]] | ||
|[[CY]] | |[[CY]] | ||
|Z | |[[Zero Flag|Z]] | ||
|+ | |+ | ||
|0 | |0 |
Revision as of 00:14, 13 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.
The ALT0 state is restored.
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