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
(created page) |
(added official Nintendo doc link) |
||
Line 64: | Line 64: | ||
=== See Also === | === See Also === | ||
* [[INC]] | * [[INC]] | ||
=== External Links === | |||
* Official Nintendo documentation on INC: https://archive.org/details/SNESDevManual/book1/page/n232 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:SPC700]] | [[Category:SPC700]] | ||
[[Category:Addition and Subtraction Commands]] | [[Category:Addition and Subtraction Commands]] |
Revision as of 03:19, 17 May 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
- Official Nintendo documentation on INC: https://archive.org/details/SNESDevManual/book1/page/n232