Table of Contents

Advertisement

.75
P
Â
INC
Increment
Instruction Format:
INC dst
dst
OPC
OPC
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
Address Mode
OPC (Hex)
rE
r = 0–15
20
21
dst
r
R
IR

Advertisement

Table of Contents
loading

Table of Contents