
UM008007-0715 Z80 Instruction Description
Z80 CPU
User Manual
163
INC r
Operation
r ← r + 1
Op Code
INC
Operand
r
Description
Register r is incremented and register r identifies any of the registers A, B, C, D, E, H, or
L, assembled as follows in the object code.
Condition Bits Affected
S is set if result is negative; otherwise, it is reset.
Z is set if result is 0; otherwise, it is reset.
H is set if carry from bit 3; otherwise, it is reset.
P/V is set if r was
7Fh before operation; otherwise, it is reset.
Register r
A 111
B 000
C 001
D 010
E 011
H 100
L 101
M Cycles T States 4 MHz E.T.
141.00
Kommentare zu diesen Handbüchern