OR
(OR)
(O) (Ol) (OC)
Logical
I
nBtructions
General
Description • This instruction performs a logical "OR" operation on two operands
bit-by-bit according
to
the
following rules:
Format
(RR)
(RX)
(51)
(55)
Condition Code
Interrupt
Action
Rules for Logical
"OR"
Operation
If
Bit
in
And Bit
in
Then
lit
in
First Operand
Is
Second Operand
is
.esult
is
0 0 0
0 1
1
1 0
1
1
1
1
The logical result of the operation is placed in the location specified by
the first address (R
1
or
BI/D
1
)
and determines
the
condition code.
(OR)
16
I
R1
I
R2
I
0 7
8 11
12 15
(0)
56
I
R1
I
X
2
I
B2
0
7 8 11
12 15 16 19 20
(01)
96
12
I
B1
I
0 7 8
15
16 19 20
I
(oe)
D6
I
L
I
B1
I
0
7 8
15 16 19 20
• 0 - result is zero.
1 - result is not zero.
2-not
used.
3-not
used.
• Address
error:
Addressing (RX, SI, SS only).
Protection
(SI, SS only).
Specification (RX only).
D2
31
D1
31
D1
B2
D2
31 32 35 36
47
Notes • 1. The second operand is unaltered, unless operands overlap in the
SS format.
2.
In
the
SI
format, the immediate byte in
the
12
field
of
the
instruction
being executed is
the
second operand.
3. Processing is from
left
to
right.
4.
All operands and results
are
valid.
5.
The "OR" instruction is also used to
set
a
bit
to one.
176