IN C
(A) ← (A) + 1, or
Op e r a t io n :
(M) ← (M) + 1
F u n c t io n :
This instruction adds one to the contents of A or M.
St a t u s fla g : N :
V :
T :
B :
I :
D :
Z :
C :
Addressing mode
∆INC∆A
Accumulator
∆INC∆$zz
Zero page
∆INC∆$zz,X
Zero page X
∆INC∆$hhll
Absolute
∆INC∆$hhll,X
Absolute X
62
INC
REMENT BY ONE
N is 1 when bit 7 is 1 after the operation; otherwise N is
0.
No change
No change
No change
No change
No change
Z is 1 when the operation result is 0; otherwise Z is 0.
No change
Statement
3A
16
E6
16
F6
16
EE
FE
Machine codes
, zz
16
, zz
16
, ll
, hh
16
16
16
, ll
, hh
16
16
16
IN C
Byte number
Cycle number
1
2
2
5
2
6
3
6
3
7