Exclusive
OR
(XR)
(X)
(XI)
(XC)
General
Description
Format
(RR)
(RX)
(51)
(55)
Condition
Code
Interrupt Action
Logical
Instructions
• These instructions perform
an
Exclusive "OR" operation on two oper-
ands bit-by-bit according to the following rules:
Rules for Exclusive
"OR"
Operation
If
Bit
of
And
Bit
of
Then Bit in
First
Operand
is
Second
Operand
is
Result is
0
0 0
0
1 1
1 0 1
1 1
0
The modulo-two sum (binary addition without carries) of the operation
is placed in
the
location specified by the first address (R
1
or
BdDd and
determines
the
condition codes.
I
(XR)
17 I
Rl
I
R2
I
o 7 8
11
12
15
o 7 8
11
12 15 16
19
20
(XI)
97
o 7 8
15
16 19
20
I
(XC)
D7 I
o 7 8
15
16
19
20
• 0 - result is zero.
1 - result is other
than
zero.
2-not
used.
3
-not
used.
• Address
error:
Addressing (RX, SI, SS only).
Protection
(SI, SS only).
Specification (RX only).
D2
31
Dl
31
Dl
B2
D2
31
3235
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.
These instructions may be used to complement a number (one's
complement) .
177