Exclusive OR XR RR I 17 R1 R2 0 78 11 12 15
X RXI 57 R1
X
2
B2 D20 7 8 11 12 1516 1920 31 XI 51 97
7 8 15161920 31
XC55 D7 L
B1I B2 78 1516 1920 31 32 35 36 47
The modulo-two sum (exclusiveOR) of the bits of the
first and second operand is placed in the first operand
location.Operands are treated as instructured logical quanti
ties, and the connective exclusiveOR is applied bit by
bit. All operands and results are valid.
The instruction differs from AND andOR only in the
connective applied.
Resulting Condition Code:
o Result is zero
1 Result not zero
2
3
Program Interruptions:
Protection (XI,XC only)
Addressing (x, XI, xc only)
Specification (x only)
Programming Note
The exclusiveOR may be used to invert a bit.
TestUnder Mask
TM51 91
78 15161920 31
The state of the first operand bits selected by a mask
is used to set the condition code.
The byte of immediate data, 12, is used as an eight
bit mask. The bits of the mask are made to correspond
one for one with the bits of the character in storage
specified by the first operand address.
A mask bit of one indicates that the storage bit is
selected. When the mask bit is zero, the storage bit is
ignored. When all storage bits thus selected are zero,
the condition code is madeO. The code is also made
o when the mask is all-zero. When the selected bits
are all-one, the code is made 3; otherwise, the code is
made 1. The character in storage is not changed.
Resulting Condition Code:
o Selected bits all-zero; mask is all-zero
1 Selected bits mixed zero and one
2
3 Selected bits all-one
Program Interruptions:
Addressing.Insert Character IC RX
43
7 8 11 12 15 16 1920 31
The eight-bit character at the second operand address
is inserted into bit positions 24-31 of the register spe
cified as the first operand location. The remaining bits
of the register remain unchanged.
The instruction is storage to general register. The
byte to be inserted is not changed or inspected.
Condition Code: The code remains unchanged.
Program Interruptions: Addressing.
StoreCharacter 5TC RX
42
7 8 11 12 15 16 1920 31
Bit positions 24-31 of the register designated as the
first operand are placed at the second operand ad
dress.
The instruction is general register to storage. The
byte to be stored is not changed or inspected.
Condition Code: The code remains unchanged.
Program Interruptions:
Protection
Addressing
LogicalOperations 55
X RX
X
2
B2 D2
7 8 1516
XC
B1
The modulo-two sum (exclusive
first and second operand is placed in the first operand
location.
ties, and the connective exclusive
bit. All operands and results are valid.
The instruction differs from AND and
connective applied.
Resulting Condition Code:
o Result is zero
1 Result not zero
2
3
Program Interruptions:
Protection (XI,
Addressing (x, XI, xc only)
Specification (x only)
Programming Note
The exclusive
Test
TM
78 1516
The state of the first operand bits selected by a mask
is used to set the condition code.
The byte of immediate data, 12, is used as an eight
bit mask. The bits of the mask are made to correspond
one for one with the bits of the character in storage
specified by the first operand address.
A mask bit of one indicates that the storage bit is
selected. When the mask bit is zero, the storage bit is
ignored. When all storage bits thus selected are zero,
the condition code is made
o when the mask is all-zero. When the selected bits
are all-one, the code is made 3; otherwise, the code is
made 1. The character in storage is not changed.
Resulting Condition Code:
o Selected bits all-zero; mask is all-zero
1 Selected bits mixed zero and one
2
3 Selected bits all-one
Program Interruptions:
Addressing.
43
7 8 11 12 15 16 19
The eight-bit character at the second operand address
is inserted into bit positions 24-31 of the register spe
cified as the first operand location. The remaining bits
of the register remain unchanged.
The instruction is storage to general register. The
byte to be inserted is not changed or inspected.
Condition Code: The code remains unchanged.
Program Interruptions: Addressing.
Store
42
7 8 11 12 15 16 19
Bit positions 24-31 of the register designated as the
first operand are placed at the second operand ad
dress.
The instruction is general register to storage. The
byte to be stored is not changed or inspected.
Condition Code: The code remains unchanged.
Program Interruptions:
Protection
Addressing
Logical