Condition Code:
The code remains unchanged.
Program Exceptions:
Access (fetch, operand 2 of L only)
Load Address
[RX]
41
o 8 12 1620 31
The address specified by the X2, B2, and D2 fields is
inserted in bit positions 8-31 of the general register
specified by the R 1 field. Bits0-7 of the register are
set to zeros. The address computation follows the
rules for address arithmetic.
No storage references for operands take place,
and the address is not inspected for access excep
tions.
Condition Code:
The code remains unchanged.
Program Exceptions:
None.
Programming Note
The same general register may be specified by the
R 1, X2, and B2 instruction field, except that general
register0 can be specified only by the Rl field. In
this manner it is possible to increment the low-order
24 bits of a general register, other than0, by the
contents of the D2 field of the instruction. The regis
ter to be incremented should be specified by Rl and
by either X2 (with B2 set to zero) or B2 (with X2 set
to zero).
Load and Test
LTR Rl,R2 [RR]
12
o 8 12 15
The second operand is placed unchanged in the first
operand location, and the sign and magnitude of the
second operand determine the condition code.
Resulting Condition Code:
o Result is zero
1 Result is less than zero
2 Result is greater than zero
3 -
Program Exceptions:
None.
Programming Note
When the Rl and R2 fields designate the same regis
ter, the operation is equivalent to a test without data
movement.
Load Complement
LCR [RR]
o 8 12 15
The two's complement of the second operand is
placed in the first-operand location.
An overflow condition occurs when the maximum
negative number is complemented; the number re
mains unchanged. The overflow causes a program
interruption when the fixed-point overflow mask bit
is one.
Resulting Condition Code:
o Result is zero
1 Result is less than zero
2 Result is greater than zero
3 Overflow
Program Exceptions:
Fixed-Point Overflow
Programming Note
Zero remains unchanged by complementation.
Load Hal/word
LH [RX]
48
o 8 12 1620 31
The second operand is placed in the first-operand
location. The second operand is two bytes in length
and is considered to be a 16-bit signed integer.
The second operand is expanded to 32 bits by
propagating the sign-bit value through the 16 high
order bit positions. Expansion occurs after the oper
and is obtained from storage and before insertion in
the register.
General Instructions 131
The code remains unchanged.
Program Exceptions:
Access (fetch, operand 2 of L only)
Load Address
[RX]
41
o 8 12 16
The address specified by the X2, B2, and D2 fields is
inserted in bit positions 8-31 of the general register
specified by the R 1 field. Bits
set to zeros. The address computation follows the
rules for address arithmetic.
No storage references for operands take place,
and the address is not inspected for access excep
tions.
Condition Code:
The code remains unchanged.
Program Exceptions:
None.
Programming Note
The same general register may be specified by the
R 1, X2, and B2 instruction field, except that general
register
this manner it is possible to increment the low-order
24 bits of a general register, other than
contents of the D2 field of the instruction. The regis
ter to be incremented should be specified by Rl and
by either X2 (with B2 set to zero) or B2 (with X2 set
to zero).
Load and Test
LTR Rl,R2 [RR]
12
o 8 12 15
The second operand is placed unchanged in the first
operand location, and the sign and magnitude of the
second operand determine the condition code.
Resulting Condition Code:
o Result is zero
1 Result is less than zero
2 Result is greater than zero
3 -
Program Exceptions:
None.
Programming Note
When the Rl and R2 fields designate the same regis
ter, the operation is equivalent to a test without data
movement.
Load Complement
LCR [RR]
o 8 12 15
The two's complement of the second operand is
placed in the first-operand location.
An overflow condition occurs when the maximum
negative number is complemented; the number re
mains unchanged. The overflow causes a program
interruption when the fixed-point overflow mask bit
is one.
Resulting Condition Code:
o Result is zero
1 Result is less than zero
2 Result is greater than zero
3 Overflow
Program Exceptions:
Fixed-Point Overflow
Programming Note
Zero remains unchanged by complementation.
Load Hal/word
LH [RX]
48
o 8 12 16
The second operand is placed in the first-operand
location. The second operand is two bytes in length
and is considered to be a 16-bit signed integer.
The second operand is expanded to 32 bits by
propagating the sign-bit value through the 16 high
order bit positions. Expansion occurs after the oper
and is obtained from storage and before insertion in
the register.
General Instructions 131