Instruction Reference Manual 13
5. OpCode Descriptions
Description
ThedatainAissummedwiththeCflagandwiththedatainmemorywhoselocationis:
• 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.
The result is then stored in A.
ADC A,(HL)
ADC A,(IX+d)
ADC A,(IY+d)
Opcode Instruction Clocks Operation
8E ADC A,(HL) 5 (2,1,2) A=A+(HL)+CF
DD 8E d ADC A,(IX+d) 9 (2,2,2,1,2) A=A+(IX+d)+CF
FD 8E d ADC A,(IY+d) 9 (2,2,2,1,2) A=A+(IY+d)+CF
Flags ALTD I/O
S Z L/V C F R SP S D
• • V • • • •