ADD A,(IX+d)
ADD A,(IY+d)
Add Without Carry
Rabbit 2000/3000/4000 Instruction
|
|
DD 86 d
|
ADD A,(IX+d)
|
|
A = A + (IX+d)
|
|
FD 86 d
|
ADD A,(IY+d)
|
|
A = A + (IY+d)
|
Description
A is summed with the data whose address is:
- the sum of IX and the 8-bit signed displacement value d, or
- the sum of IY and the 8-bit signed displacement value d
The result is stored in A.
The Rabbit 4000 assembler views "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)."