eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
89
ADD A, ir
ADD without Carry
Operation
A ← A+
ir
Description
The
ir
operand is any of IXH, IXL, IYH, or IYL. The
ir
operand is added to the contents
of the accumulator, A. The result is stored in the accumulator.
Condition Bits Affected
Attributes
S Set if result is negative; reset otherwise.
Z Set if result is 0; reset otherwise.
H Set if carry from bit 3; reset otherwise.
P/V Set if overflow; reset otherwise.
N Reset.
C Set if carry from bit 7; reset otherwise.
Mnemonic Operand ADL Mode Cycle Opcode (hex)
ADD A,IXH X 2 DD, 84
ADD A,IXL X 2 DD, 85
ADD A,IYH X 2 FD, 84
ADD A,IYL X 2 FD, 85