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

RAMB (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(added syntax)
(added example)
Line 43: Line 43:
RAMB
RAMB
</pre>
</pre>
==== Example ====
Let:
S<sub>reg</sub> : R<sub>3</sub>
R<sub>3</sub> = 0170h
After executing RAMB, the RAM bank register becomes 70h.


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

Revision as of 19:41, 8 July 2024

Basic Info
Addressing Mode Opcode Length ROM Speed RAM Speed Cache Speed
Implied (type 1) 3EDF 2 bytes 6 cycles 6 cycles 2 cycles
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 . . . .

RAMB is a Super FX instruction that moves the low byte of the source register into RAMBR.

Syntax

RAMB

Example

Let:

Sreg : R3
R3 = 0170h

After executing RAMB, the RAM bank register becomes 70h.

See Also

External Links