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

ALT3: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎See Also: opcode matrix)
 
(4 intermediate revisions by the same user not shown)
Line 40: Line 40:


Unlike ALT1 and ALT2 however, ALT3 is only an instruction and not also the name of a flag itself.
Unlike ALT1 and ALT2 however, ALT3 is only an instruction and not also the name of a flag itself.
==== Syntax ====
<pre>
ALT3
</pre>


The following instructions require ALT3:
The following instructions require ALT3:
Line 48: Line 53:
* [[GETBS]]
* [[GETBS]]
* [[ROMB]]
* [[ROMB]]
 
* [[XOR]] #n
==== Syntax ====
<pre>
ALT3
</pre>


==== See Also ====
==== See Also ====
* [[ALT0]]
* [[ALT0]]
* https://sneslab.net/wiki/Super_FX_Opcode_Matrices#ALT1_=_1,_ALT2_=_1
* [[Super_FX_Opcode_Matrices#ALT1_=_1,_ALT2_=_1]]


=== External Links ===
=== External Links ===
* Official Nintendo documentation on ALT3: 9.10 on [https://archive.org/details/SNESDevManual/book2/page/n165 page 2-9-9 of Book II]
* Official Nintendo documentation on ALT3: 9.10 on [https://archive.org/details/SNESDevManual/book2/page/n165 page 2-9-9 of Book II]
* Table 2-4-2 on [https://archive.org/details/SNESDevManual/book2/page/n110 page 2-4-4], lbid.
* https://en.wikibooks.org/wiki/Super_NES_Programming/Super_FX_tutorial#Instruction_Set_Table


[[Category:ASM]]
[[Category:ASM]]

Latest revision as of 00:54, 22 July 2024

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

ALT3 is a Super FX flag prefix instruction that sets both the ALT1 and ALT2 flags.

Unlike ALT1 and ALT2 however, ALT3 is only an instruction and not also the name of a flag itself.

Syntax

ALT3

The following instructions require ALT3:

See Also

External Links