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
(see also ALT 0) |
(→External Links: XOR ref) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
|[[Sign Flag|S]] | |[[Sign Flag|S]] | ||
|[[CY]] | |[[CY]] | ||
|Z | |[[Zero Flag|Z]] | ||
|+ | |+ | ||
|. | |. | ||
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: | |||
* [[ADC (Super FX)|ADC]] #n | |||
* [[BIC]] #n | |||
* [[CMP (Super FX)|CMP]] R<sub>n</sub> | |||
* [[GETBS]] | |||
* [[ROMB]] | |||
* [[XOR]] #n | |||
==== See Also ==== | ==== See Also ==== | ||
* [[ALT0]] | * [[ALT0]] | ||
* [[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
- Official Nintendo documentation on ALT3: 9.10 on page 2-9-9 of Book II
- Table 2-4-2 on page 2-4-4, lbid.
- https://en.wikibooks.org/wiki/Super_NES_Programming/Super_FX_tutorial#Instruction_Set_Table