Move Numerics
MVN SS Dl
L
7 8 1516
The low-order four bits of each byte in the second op­
erand field, the numerics, are placed in the low-order
bit positions of the corresponding bytes in the first
operand fields.
The instruction is storage to storage. Movement is
left to right through each field one byte at a time, and
the fields may overlap in any desired way.
The numerics are not changed or checked for validi­
ty. The high-order four bits of each byte, the zones,
remain unchanged in both operand fields.
Condition Code: The code remains unchanged. Program Interruptions:
Protection
Addressing
Move Zones MVZ SS D3
78
L B1 I B2 11m 1516 19 20 31 32 35 36 47
The high-order four bits of each byte in the second
operand field, the zones, are placed in the high-order
four bit positions of the corresponding bytes in the
first operand field.
The instruction is storage to storage. Movement is
left to right through each field one byte at a time, and
the fields may overlap in any desired way.
The zones are not changed or checked for validity.
The low-order four bits of each byte, the numerics,
remain unchanged in both operand fields.
Condition Code: The code remains unchanged.
Program Interruptions:
Addressing
Protection Compare Logical CLR RR I 15 R1 R2 I 0 78 11 12 15
CL RX I 55 R1
X
2 B2 D2 0 78 11 12 1516 1920 31
CLI SI 95
78 15 16 1920 31
CLC SS D5 L B1 I B2 11m 78 1516 19 20 31 32 35 36 47
The first operand is compared with the second oper­
and, and the result is indicated in the condition code.
The instructions allow comparisons that are register
to register, storage to register, instruction to storage,
and storage to storage.
Comparison is binary, and all codes are valid. The
operation proceeds left to right and terminates as soon
as an inequality is found.
Resulting Condition Code:
o Operands are equal
1 First operand is low
2 First operand is high
3
Program Interruptions:
Addressing (CL, CLI, CLC only)
Specification (CL only)
Programming Note
The COMPARE LOGICAL is unique in treating all bits
alike as part of an unsigned binary quantity. In vari­
able-length operation, comparison is left to right and
may extend to field lengths of 256 bytes. The oper­
ation may be used for alphameric comparisons.
Logical Operations 53
AND
NR RR. 14
78 1112 15
N
RX
54
7 8 11 12 15 16 19 20 31 NI 51
94
7 8 1516 1920 31
NC 55
04
L
78 1516
The logical product (AND) of the bits of the first and
second operand is placed in the first operand location. Operands are treated as unstructured logical quan­
tities, and the connective AND is applied bit by bit. All
operands and results are valid. Resulting Condition Code:
o Result is zero
1 Result not zero
2
3 Program Interruptions:
Protection (NI, NC only)
Addressing (N, NI, NC only) Specification (N only)
Programming Note
The AND may be used to set a bit to zero.
54 OR OR RR
16
78 1112 15
o RX ___ 5_6 ____ __ __ _______ 0_2 ____ o 7 8 11 12 15 16 19 20 31 01 51 ___ 96 ____ ____ 1_2 __ _____ 0_1 ____ 7 8 15 16 19 20 31 OC 55
06 L Bill? 0 1 I B2 Ijl3J -----1...J
5
"-16--
1920 31 32 35 36 47
The logical sum (OR) of the bits of the first and sec­
ond operand is placed in the first operand location. Operands are treated as unstructured logical quan­
tities, and the connective inclusive OR is applied bit by
bit. All operands and results are valid.
Resulting Condition Code:
o Result is zero
1 Result not zero
2
3 Program Interruptions:
Protection (01, oc only)
Addressing (0, 01, oc only)
Specification (0 only)
Programming Note
The OR may be used to set a bit to one.
Previous Page Next Page