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

ADC (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(2 byte Instructions)
Line 53: Line 53:
=== External Links ===
=== External Links ===
* Official Nintendo documentation on ADC: [https://archive.org/details/SNESDevManual/book2/page/n159 Page 2-9-3 of Book II]
* Official Nintendo documentation on ADC: [https://archive.org/details/SNESDevManual/book2/page/n159 Page 2-9-3 of Book II]
* ADC with immediate addressing: [https://archive.org/details/SNESDevManual/book2/page/n160 Page 2-9-4 of Book II], lbid.


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

Revision as of 21:48, 29 June 2024

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

ADC (Add with carry) is a Super FX instruction that performs an addition. The source register is always the first addend. The second addend may be any of the 16 R registers or an immediate value. The third addend is CY. The sum is stored in the destination register.

See Also

External Links