
<
2
.75
7UGT U/CPWCN
#FFTGUU5RCEG
=L/2*
7/<:
INC
Increment
Instruction Format:
INC dst
Operation:
dst
←
dst + 1
The contents of the destination operand are incremented by one.
Flags:
When the instruction is executed, the flags are set as follows:
C:
The value set by the preceding instruction.
Z:
1 if the result is
0
; otherwise, 0.
S:
1 if bit 7 of the result is 1 (negative); otherwise, 0.
V:
1 if arithmetic overflow occurs; otherwise, 0.
D:
The value set by the preceding instruction.
H:
The value set by the preceding instruction.
dst
OPC
OPC
dst
OPC (Hex)
Address Mode
dst
rE
r = 0–15
r
20
21
R
IR