ADC A, (IX/Y+d)
ADD with Carry
Operation
A ← A+(IX/Y+d)+C
Description
(IX/Y+d) is an 8-bit value stored in the memory location specified by the Index Register,
IX or IY, offset by the two's-complement displacement d. This 8-bit value and the Carry
Flag (C) are added to the contents of the accumulator, A. The result is stored in the accu-
mulator.
Condition Bits Affected
S
Z
H
P/V
N
C
Attributes
Mnemonic
ADC
ADC.S
ADC.L
ADC
ADC.S
ADC.L
UM007714-0908
Set if result is negative; reset otherwise.
Set if result is 0; reset otherwise.
Set if carry from bit 3; reset otherwise.
Set if overflow; reset otherwise.
Reset.
Set if carry from bit 7; reset otherwise.
Operand
ADL Mode
A,(IX+d)
X
A,(IX+d)
1
A,(IX+d)
0
A,(IY+d)
X
A,(IY+d)
1
A,(IY+d)
0
Cycle
Opcode (hex)
4
DD, 8E, dd
5
52, DD, 8E, dd
5
49, DD, 8E, dd
4
FD, 8E, dd
5
52, FD, 8E, dd
5
49, FD, 8E, dd
®
eZ80
CPU
User Manual
81
CPU Instruction Set
Need help?
Do you have a question about the eZ80 and is the answer not in the manual?
Questions and answers