102
Rabbit 2000/3000 Microprocessor
Description
•
OR n:
Performs a logical OR operation between the byte in A and the 8-bit constant n.
•
OR r:
Performs a logical OR operation between the byte in A and the byte in r (any of the reg-
isters A, B, C, D, E, H, or L).
The relative bits of each byte are compared (i.e., bit 1 of both bytes are compared, bit 2 of both bytes are com-
pared, etc.) and the associated bit in the result byte is set if either of the compared bits is set. The result is
stored in A.
OR
n
OR
r
Opcode
Instruction
Clocks
Operation
F6
n
OR
n
4 (2,2)
A = A |
n
——
B7
B0
B1
B2
B3
B4
B5
OR
r
OR A
OR B
OR C
OR D
OR E
OR H
OR L
2
2
2
2
2
2
2
2
A = A |
r
A = A | A
A = A | B
A = A | C
A = A | D
A = A | E
A = A | H
A = A | L
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
L
0
•
•
Содержание 2000
Страница 2: ...ii Rabbit 2000 3000 Microprocessor...
Страница 4: ...iv Rabbit 2000 Microprocessor...
Страница 16: ...12 Rabbit 2000 3000 Microprocessor...
Страница 164: ...160 Instruction Reference Manual...
Страница 172: ...168 Rabbit 2000 3000 Microprocessor...
Страница 174: ...170 Rabbit 2000 3000 Microprocessor...