Instruction Reference Manual 49
Description
Increments the byte whose address is:
• heldinHL, or
• the sum of the data in IX and a displacement value d, or
• the sum of the data in IY and a displacement value d.
INC (HL)
INC (IX+d)
INC (IY+d)
Opcode Instruction Clocks Operation
34 INC (HL) 8 (2,1,2,3) (HL) = (HL) + 1
DD 34 d INC (IX+d) 12 (2,2,2,1,2,3) (IX + d)=(IX+d)+1
FD 34 d INC (IY+d) 12 (2,2,2,1,2,3) (IY + d)=(IY+d)+1
Flags ALTD I/O
S Z L/V C F R SP S D
• • V - • • •