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

INC (SPC700): Difference between revisions

From SnesLab
Jump to: navigation, search
(added official Nintendo doc link)
(added link to official dev manual)
Line 66: Line 66:


=== External Links ===
=== External Links ===
* Official Nintendo documentation on INC: https://archive.org/details/SNESDevManual/book1/page/n232
* Official Super Nintendo development manual on INC: [https://archive.org/details/SNESDevManual/book1/page/n232 Appendix C-7 of Book I]


[[Category:ASM]]
[[Category:ASM]]
[[Category:SPC700]]
[[Category:SPC700]]
[[Category:Addition and Subtraction Commands]]
[[Category:Addition and Subtraction Commands]]

Revision as of 02:18, 8 July 2023

INC is an SPC700 instruction that increments a value.

Basic Info
Addressing Mode Opcode Length Speed
implied BC 1 byte 2 cycles
AB 2 byte 4 cycles
BB 2 byte 5 cycles
AC 3 bytes 5 cycles
3D 1 byte 2 cycles
FC 1 byte 2 cycles
Flags Clobbered
N V P B H I Z C
. . . . . .

See Also

External Links