Instruction Reference Manual 13
5. OpCode Descriptions
Description
ThedataintheAccumulatorissummedwiththeCarryFlagandwiththedatainmemorywhoselocationis:
• heldinwordregisterHL, or
• the sum of the data in index register IX and a displacement value d,or
• the sum of the data in index register IY and a displacement value d.
The result is then stored in the Accumulator.
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 • • • •