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
(accumulator addressing) |
(dp admodes) |
||
Line 12: | Line 12: | ||
|2 cycles | |2 cycles | ||
|+ | |+ | ||
| | |[[Direct Page Addressing | Direct Page]] | ||
|AB | |AB | ||
|2 byte | |2 byte | ||
|4 cycles | |4 cycles | ||
|+ | |+ | ||
| | |[[Direct Page Indexed by X]] | ||
|BB | |BB | ||
|2 byte | |2 byte |
Revision as of 18:46, 23 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
Accumulator | BC | 1 byte | 2 cycles | ||||
Direct Page | AB | 2 byte | 4 cycles | ||||
Direct Page Indexed by X | 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 |
. | . | . | . | . | . |
INC is an SPC700 instruction that increments the operand.
See Also
External Links
- Official Super Nintendo development manual on INC: Appendix C-7 of Book I