The sign of the product is determined by the rules
of algebra from the multiplier and multiplicand sign,
except that a zero result is always positive.
Condition Code:
The code remains unchanged.
Program Exceptions:
Access (fetch, operand 2)
Programming Note
The significant part of the product usually occupies
46 bits or fewer, the exception being 47 bits when
both operands are maximum negative. Since the
low-order 32 bits of the product are stored un
changed, ignoring all bits to the left, the sign bit of
the result may differ from the true sign of the prod
uct in the case of overflow.OR OR Rl,R2 [RR]
16I R, I R2 I 0 8 12 15 0 Rl,D2(X2,B2) [RX]
56I R, I X
2I 8
2 D20 8 12 16 20 31 01 Dl (Bl),h [81]
96 8
1
o 8 1620 31
D6I L
o 8
TheOR of the first and second operands is placed in
the first-operand location.Operands are treated as unstructured logical
quantities, and the connectiveOR is applied bit by
bit. A bit position in the result is set to one if the
corresponding bit position in one or both operands
contains a one; otherwise, the result bit is set to
zero.
ForOC, each operand field is processed left to
right. When the operands overlap, the result is ob-
tained as if the operands were processed one byte at
a time and each result byte were stored immediately
after the operand byte is fetched.
Resulting Condition Code:
o Result is zero
1 Result not zero
2 -
3 -
Program Exceptions:
Access (fetch, operand2,0 and OC; fetch and
store, operand 1,01 and OC) Programming Note
The instructionOR may be used to set a bit to one.
The execution of01 and OC consists in fetching a
first-operand byte from main storage and subse
quently storing the updated value. These fetch and
store accesses to a particular byte do not necessarily
occur one immediately after the other. Thus, the
instructionOR cannot be safely used to update a
shared location in main storage if the possibility ex
ists that anotherCPU may also be updating the loca
tion. For01, only one byte is stored.
Pack
PACK[88] I 36 47 I o
F2
The format of the second operand is changed from
zoned to packed, and the result is placed in the first
operand location.
The second operand is assumed to have the zoned
format. All zones are ignored, except the zone over
the low-order digit, which is assumed to represent a
sign. The sign is placed in the right four bits of the
low-order byte, and the digits are placed adjacent to
the sign and to each other in the remainder of the
result field. The sign and digits are moved un
changed to the first operand field and are not
checked for valid codes.
The result is obtained as if the fields were pro
cessed right to left. If necessary, the second operand
is extended with high-order zeros. If the first
operand field is too short to contain all significant
digits of the second-operand field, the remaining
high-order digits are ignored.
General Instructions 13 7
of algebra from the multiplier and multiplicand sign,
except that a zero result is always positive.
Condition Code:
The code remains unchanged.
Program Exceptions:
Access (fetch, operand 2)
Programming Note
The significant part of the product usually occupies
46 bits or fewer, the exception being 47 bits when
both operands are maximum negative. Since the
low-order 32 bits of the product are stored un
changed, ignoring all bits to the left, the sign bit of
the result may differ from the true sign of the prod
uct in the case of overflow.
16
56
2
2 D2
96 8
1
o 8 16
D6
o 8
The
the first-operand location.
quantities, and the connective
bit. A bit position in the result is set to one if the
corresponding bit position in one or both operands
contains a one; otherwise, the result bit is set to
zero.
For
right. When the operands overlap, the result is ob-
tained as if the operands were processed one byte at
a time and each result byte were stored immediately
after the
Resulting Condition Code:
o Result is zero
1 Result not zero
2 -
3 -
Program Exceptions:
Access (fetch, operand
store, operand 1,
The instruction
The execution of
first-operand byte from main storage and subse
quently storing the updated value. These fetch and
store accesses to a particular byte do not necessarily
occur one immediately after the other. Thus, the
instruction
shared location in main storage if the possibility ex
ists that another
tion. For
Pack
PACK
F2
The format of the second operand is changed from
zoned to packed, and the result is placed in the first
operand location.
The second operand is assumed to have the zoned
format. All zones are ignored, except the zone over
the low-order digit, which is assumed to represent a
sign. The sign is placed in the right four bits of the
low-order byte, and the digits are placed adjacent to
the sign and to each other in the remainder of the
result field. The sign and digits are moved un
changed to the first operand field and are not
checked for valid codes.
The result is obtained as if the fields were pro
cessed right to left. If necessary, the second operand
is extended with high-order zeros. If the first
operand field is too short to contain all significant
digits of the second-operand field, the remaining
high-order digits are ignored.
General Instructions 13 7