<< Previous | Next >>

ADD A,(IX+d)
ADD A,(IY+d)
    Add Without Carry
    Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
DD 86 d ADD A,(IX+d) A = A + (IX+d)
FD 86 d ADD A,(IY+d) A = A + (IY+d)

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
9
n/a
n/a
Rabbit 5000
10
9
8

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
·
·
V
·
·
·
·

Description

A is summed with the data whose address is:

The result is stored in A.

The Rabbit 4000/5000 assemblers view "ADD A,(IX+d)" and "ADD (IX+d)" as equivalent instructions. In the latter case, A is used even though it is not explicitly stated. The same is true for "ADD A,(IY+d)" and "ADD (IY+d)."


Rabbit Instructions << Previous | Next >> rabbit.com