eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
155
INC (HL)
Increment
Operation
(HL) ← (HL)+1
Description
The (HL) operand is an 8-bit value stored at the memory location specified by the contents
of the multibyte register HL. This 8-bit value increments by 1.
Condition Bits Affected
Attributes
S Set if result is negative; reset otherwise.
Z Set if result is 0; reset otherwise.
H Set if carry from bit 3.
P/V Set if operand was 7Fh before operation; reset otherwise.
N Reset.
C Not affected.
Mnemonic Operand ADL Mode Cycle Opcode (hex)
INC (HL) X 4 34
INC.S (HL) 1 5 52, 34
INC.L (HL) 0 5 49, 34