70
Rabbit 2000/3000 Microprocessor
Description
Performs a logical OR operation between the byte in the Accumulator and the byte whose address is (a) in the
word register HL, (b) the sum of the data in index register IX and a displacement d, or (c) the sum of the data
in index register IY and a displacement d.
The relative bits of each byte are compared (i.e., the bit 1 of both bytes are compared, the bit 2 of both bytes
are compared, etc.) and the associated bit in the result byte is set if either of the compared bits is set. The
result is stored in the Accumulator.
Example
If the byte in the Accumulator is 0100 1100 and the byte in the memory location pointed to by HL is
1110 0101, the operation:
OR (HL)
would result in the Accumulator containing 1110 1101.
OR (HL)
OR (IX+d)
OR (IY+d)
Opcode
Instruction
Clocks
Operation
B6
OR (HL)
5 (2,1,2)
A = A | (HL)
DD B6 d
OR (IX+d)
9 (2,2,2,1,2)
A = A | (IX+d)
FD B6 d
OR (IY+d)
9 (2,2,2,1,2)
A = A | (IY+d)
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
L
0
•
•
•
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 112: ...108 Rabbit 2000 3000 Microprocessor...
Page 120: ...ii Rabbit 2000 3000 Microprocessor...