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

IBT: Difference between revisions

From SnesLab
Jump to: navigation, search
(The ALT0 state is restored.)
(any general reg)
Line 37: Line 37:
|}
|}


'''IBT''' (Immediate Byte Transfer) is a [[Super FX]] instruction that loads an immediate byte into the low byte of a specified register.  The register's upper eight bits will be sign-extended (copied) from bit 7, effectively loading a signed 8-bit value.
'''IBT''' (Immediate Byte Transfer) is a [[Super FX]] instruction that loads an immediate byte into the low byte of a specified general register.  The register's upper eight bits will be sign-extended (copied) from bit 7, effectively loading a signed 8-bit value.


The [[ALT0]] state is restored.
The [[ALT0]] state is restored.
Line 45: Line 45:
IBT Rn, #pp
IBT Rn, #pp
</pre>
</pre>
where pp may be from -128 to 127.
where pp may be from -128 to 127.  Any of the 16 general registers can be specified.


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

Revision as of 01:54, 16 July 2024

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

IBT (Immediate Byte Transfer) is a Super FX instruction that loads an immediate byte into the low byte of a specified general register. The register's upper eight bits will be sign-extended (copied) from bit 7, effectively loading a signed 8-bit value.

The ALT0 state is restored.

Syntax

IBT Rn, #pp

where pp may be from -128 to 127. Any of the 16 general registers can be specified.

See Also

External Links