Instruction Reference Manual 17
Description
The data in A is summed with the data in the memory location 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.
TheresultisstoredinA.
ADD A,(HL)
ADD A,(IX+d)
ADD A,(IY+d)
Opcode Instruction Clocks Operation
86 ADD A,(HL) 5 (2,1,2) A = A + (HL)
DD 86 d ADD A,(IX+d)
9 (2,2,2,1,2)
A = A + (IX+d)
FD 86 d ADD A,(IY+d)
9 (2,2,2,1,2)
A = A + (IY+d)
Flags ALTD I/O
S Z L/V C F R SP S D
• • V • • • •