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
(abs admode)
(implied addressing)
Line 27: Line 27:
|5 cycles
|5 cycles
|+
|+
|
|[[Implied]] (type 1)
|3D
|3D
|1 byte
|1 byte
|2 cycles
|2 cycles
|+
|+
|
|[[Implied]] (type 1)
|FC
|FC
|1 byte
|1 byte
Line 60: Line 60:
|}
|}


'''INC''' is an [[SPC700]] instruction that increments the operand.
'''INC''' is an [[SPC700]] instruction that increments the operand by one.


=== See Also ===
=== See Also ===

Revision as of 20:08, 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
Absolute AC 3 bytes 5 cycles
Implied (type 1) 3D 1 byte 2 cycles
Implied (type 1) FC 1 byte 2 cycles
Flags Clobbered
N V P B H I Z C
. . . . . .

INC is an SPC700 instruction that increments the operand by one.

See Also

External Links