We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
TO (Super FX): Difference between revisions
From SnesLab
(added syntax) |
(added admode column) |
||
Line 2: | Line 2: | ||
!colspan="8"|Basic Info | !colspan="8"|Basic Info | ||
|+ | |+ | ||
|'''Addressing Mode''' | |||
|'''Opcode''' | |'''Opcode''' | ||
|'''Length''' | |'''Length''' | ||
Line 8: | Line 9: | ||
|'''Cache Speed''' | |'''Cache Speed''' | ||
|+ | |+ | ||
| | |||
|1n | |1n | ||
|1 byte | |1 byte |
Revision as of 02:35, 4 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | ROM Speed | RAM Speed | Cache Speed | ||
1n | 1 byte | 3 cycles | 3 cycles | 1 cycle |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
. | . | . | . | . | . | . |
TO is a Super FX register prefix instruction that specifies the destination register. Any register from R0 to R15 can be specified. The exception is when the B Flag is set (i.e. a WITH instruction is executed immediately before) in which case a MOVE is executed instead with WITH acting as the source and TO as the destination.
No flags are affected.
Syntax
TO Rn
See Also
External Links
- Official Nintendo documentation on TO: 9.89 on page 2-9-121 of Book II
- Official Nintendo documentation on Register Prefixes: page 2-6-7 of Book II