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

IWT (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(low byte first)
(added syntax)
Line 38: Line 38:


'''IWT''' (Immediate Word Data?) is a [[Super FX]] instruction that loads two immediate bytes into a register.  Any register from R<sub>0</sub> to R<sub>15</sub> may be specified.
'''IWT''' (Immediate Word Data?) is a [[Super FX]] instruction that loads two immediate bytes into a register.  Any register from R<sub>0</sub> to R<sub>15</sub> may be specified.
==== Syntax ====
<pre>
IWT Rn, #xx
</pre>


=== Trivia ===
=== Trivia ===

Revision as of 01:36, 4 July 2024

Basic Info
Addressing Mode Opcode Length ROM Speed RAM Speed Cache Speed
Immediate Fnxxxx 3 bytes 9 cycles 9 cycles 3 cycle
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 . . . .

IWT (Immediate Word Data?) is a Super FX instruction that loads two immediate bytes into a register. Any register from R0 to R15 may be specified.

Syntax

IWT Rn, #xx

Trivia

The official Super Nintendo development manual mispells the mnemonic as "ITW" in the opcode diagram.[1] The low byte of the immediate value is loaded before the high byte.

See Also

External Links

  1. Official Nintendo documentation on IWT: 9.43 on Page 2-9-62 of Book II