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
(CY not added in) |
|||
Line 55: | Line 55: | ||
=== External Links === | === External Links === | ||
* Official Nintendo documentation on ADD: [https://archive.org/details/SNESDevManual/book2/page/n161 Page 2-9-5 of Book II] | * Official Nintendo documentation on ADD: [https://archive.org/details/SNESDevManual/book2/page/n161 Page 2-9-5 of Book II] | ||
* ADD with immediate addressing: [https://archive.org/details/SNESDevManual/book2/page/n162 Page 2-9-6 of Book II] | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Super FX]] | [[Category:Super FX]] | ||
[[Category:Arithmetic Operation Instructions]] | [[Category:Arithmetic Operation Instructions]] |
Revision as of 21:50, 29 June 2024
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 | . | . | . | . |
ADD is Super FX instruction that performs an addition. The source register is always an addend. The other addend may be any of the 16 R registers or an immediate value. The sum is stored in the destination register.
CY is not an addend.
See Also
External Links
- Official Nintendo documentation on ADD: Page 2-9-5 of Book II
- ADD with immediate addressing: Page 2-9-6 of Book II