![]() |
|
| << Previous | Next >> | |
| | |
OR (IX+d)
OR (IY+d) Bitwise OR Rabbit 2000/3000/4000/5000 Instruction
DD B6 d OR (IX+d) A = A | (IX + d) FD B6 d OR (IY+d) A = A | (IY + d)
Rabbit 2000/3000/4000 Rabbit 5000
Description
Performs a bitwise OR between A and the data whose address is
- the sum of the data in IX and the 8-bit signed displacement d, or
- the sum of the data in IY and the 8-bit signed displacement d.
The Rabbit 4000/5000 assemblers view "OR A,(IX+d)" and "OR (IX+d)" as equivalent instructions. The same is true for "OR A,(IX+d)" and "OR (IX+d)."
Example
If the byte in A is 0100 1100 and the byte in the memory location pointed to by IX+d is 1110 0101, the operation:
OR (IX+d)
| Rabbit Instructions | << Previous | Next >> | rabbit.com |