We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
ADD (Super FX): Difference between revisions
From SnesLab
(added official link) |
(added basic info) |
||
Line 1: | Line 1: | ||
'''ADD''' is [[Super FX]] instruction that performs an addition. | '''ADD''' is [[Super FX]] instruction that performs an addition. | ||
{| class="wikitable" style="float:right;clear:right;width:40%" | |||
!colspan="8"|Basic Info | |||
|+ | |||
|'''Addressing Mode''' | |||
|'''Opcode''' | |||
|'''Length''' | |||
|'''ROM Speed''' | |||
|'''RAM Speed''' | |||
|'''Cache Speed''' | |||
|+ | |||
| | |||
|5n | |||
|1 bytes | |||
|3 cycles | |||
|3 cycles | |||
|1 cycle | |||
|+ | |||
|immediate | |||
|3E5n | |||
|2 bytes | |||
|6 cycles | |||
|6 cycles | |||
|2 cycle | |||
|} | |||
{| class="wikitable" style="float:right;clear:right;width:30%" | {| class="wikitable" style="float:right;clear:right;width:30%" | ||
!colspan="9"|Flags | !colspan="9"|Flags Affected | ||
|+ | |+ | ||
|B | |B |
Revision as of 05:38, 25 May 2023
ADD is Super FX instruction that performs an addition.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | ROM Speed | RAM Speed | Cache Speed | ||
5n | 1 bytes | 3 cycles | 3 cycles | 1 cycle | |||
immediate | 3E5n | 2 bytes | 6 cycles | 6 cycles | 2 cycle |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . | . | . | . |
External Links
- Official Nintendo documentation on ADD: https://archive.org/details/SNESDevManual/book2/page/n161