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

MOVE (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(added example)
(improved description)
Line 37: Line 37:
|}
|}


'''MOVE''' is the name of a [[Super FX]] instruction and macro instructions that moves the value of a register into another register.
'''MOVE''' is the name of a [[Super FX]] instruction and macro instructions that moves the value of a register or immediate value into another register or RAM.


==== Syntax ====
==== Syntax ====

Revision as of 17:41, 9 July 2024

Basic Info
Addressing Mode Opcode Length ROM Speed RAM Speed Cache Speed
2n'1n 2 bytes 6 cycles 6 cycles 2 cycles
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 . . . .

MOVE is the name of a Super FX instruction and macro instructions that moves the value of a register or immediate value into another register or RAM.

Syntax

MOVE Rn, Rn'
MOVE Rn, #xx
MOVE Rn, (xx)
MOVE (xx), Rn

Example

Let:

R14 = 4983h
R8 = 9264h

when MOVE R8, R14 is executed:

R8 = 4983h

See Also

External Links