We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

SM (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(number of cycles varies)
(added example)
Line 45: Line 45:
SM (xx), Rn
SM (xx), Rn
</pre>
</pre>
==== Example ====
Let:
R<sub>4</sub> = 438ch
RAMBR = 70h
After executing SM (0b492h), R<sub>4</sub>:
(70:b492h) = 8ch
(70:b493h) = 43h


=== See Also ===
=== See Also ===

Revision as of 00:19, 10 July 2024

Basic Info
Addressing Mode Opcode Length ROM Speed RAM Speed Cache Speed
3EFnxxxx 4 bytes 12 to 17 cycles 16 to 20 cycles 4 to 9 cycles
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 . . . .

SM is a Super FX instruction that stores a value to the Game Pak.

The number of cycles varies because of the RAM buffer.

Syntax

SM (xx), Rn

Example

Let:

R4 = 438ch
RAMBR = 70h

After executing SM (0b492h), R4:

(70:b492h) = 8ch
(70:b493h) = 43h

See Also

External Links