Condition Code: The code remains unchanged.
Program Exceptions:Operation (if the PSW-key-handling feature is not
installed)
Privileged operation
Insert Storage KeyISK [RR]
o 8 12 15
The key in storage associated with the block that is
addressed by the contents of the general register
designated by the R2 field is inserted in the general
register designated by the Rt field.
Bits8-20 of the register designated by the R2
field designate a block of2,048 bytes in real main
storage. Bits0-7 and 21-27 of the register are ig
nored. Bits 28-31 of the register must be zeros; oth
erwise, a specification exception is recognized, and
the operation is suppressed.
The address designating the storage block, being a
real address, is not subject to dynamic address trans
lation. Hence, the reference to the key cannot cause
segment-translation, page-translation, and
translation-specification exceptions to be recognized,
and an addressing exception can be caused only by
an invalid storage-block address (as contrasted to an
invalid address of a table entry). The reference to
the key is not subject to a protection exception.
The execution of the instruction depends on the
mode of operation. When thePSW specifies the
extended-control mode, the complete seven-bit key
is inserted into bit positions24-30 of the register
designated by the Rt field, with bit 31 set to zero.
When thePSW specifies the basic-control mode, bits 0-4 of the key are placed in bit positions 24-28 of .the register, with bits 29-31 of the register set to
zeros. The contents of bit positions0-23 of the regis
ter remain unchanged.
Condition Code: The code remains unchanged.
Program Exceptions:
Privileged operation
Access (addressing for operand access only, oper
and 2)
Specification
Load Control
LCTL Rl,R3,D2(B2)[RS] B7 I R, I R3 I B2 I D2 I 0 8 12 16 20 31
The set of control registers starting with the control
register designated by the R t field and ending with
the control register designated by the R3 field is
loaded from the locations designated by the second
operand address.
The storage area from which the contents of the
control registers are obtained starts at the location
designated by the second-operand address and con
tinues through as many storage words as the number
of control registers specified. The control registers
are loaded in ascending order of their addresses,
starting with the control register designated by the
Rt field and continuing up to and including the con
trol register designated by the R3 field, with control
register0 following control register 15. The second
operand remains unchanged.
An attempt is made to fetch the operand from
main storage for each of the designated control reg
isters, regardless of whether the facility requiring the
presence of the control register is installed. Whenev
er the storage reference causes an access exception,
the exception is indicated.
The second operand must be designated on a
word boundary; otherwise, a specification exception
is recognized, and the operation is suppressed.
Condition Code: The code remains unchanged.
Program Exceptions:
Privileged operation
Access (fetch, operand 2)
Specification
Programming Note
To ensure that presently written programs run when
new facilities using additional control register posi
tions are installed, only zeros should be loaded in
unassigned control register positions.
Load PSWLPSW 82 J
o 8 1620 31
System-Control Instructions105
Program Exceptions:
installed)
Privileged operation
Insert Storage Key
o 8 12 15
The key in storage associated with the block that is
addressed by the contents of the general register
designated by the R2 field is inserted in the general
register designated by the Rt field.
Bits
field designate a block of
storage. Bits
nored. Bits 28-31 of the register must be zeros; oth
erwise, a specification exception is recognized, and
the operation is suppressed.
The address designating the storage block, being a
real address, is not subject to dynamic address trans
lation. Hence, the reference to the key cannot cause
segment-translation, page-translation, and
translation-specification exceptions to be recognized,
and an addressing exception can be caused only by
an invalid storage-block address (as contrasted to an
invalid address of a table entry). The reference to
the key is not subject to a protection exception.
The execution of the instruction depends on the
mode of operation. When the
extended-control mode, the complete seven-bit key
is inserted into bit positions
designated by the Rt field, with bit 31 set to zero.
When the
zeros. The contents of bit positions
ter remain unchanged.
Condition Code: The code remains unchanged.
Program Exceptions:
Privileged operation
Access (addressing for operand access only, oper
and 2)
Specification
Load Control
LCTL Rl,R3,D2(B2)
The set of control registers starting with the control
register designated by the R t field and ending with
the control register designated by the R3 field is
loaded from the locations designated by the second
operand address.
The storage area from which the contents of the
control registers are obtained starts at the location
designated by the second-operand address and con
tinues through as many storage words as the number
of control registers specified. The control registers
are loaded in ascending order of their addresses,
starting with the control register designated by the
Rt field and continuing up to and including the con
trol register designated by the R3 field, with control
register
operand remains unchanged.
An attempt is made to fetch the operand from
main storage for each of the designated control reg
isters, regardless of whether the facility requiring the
presence of the control register is installed. Whenev
er the storage reference causes an access exception,
the exception is indicated.
The second operand must be designated on a
word boundary; otherwise, a specification exception
is recognized, and the operation is suppressed.
Condition Code: The code remains unchanged.
Program Exceptions:
Privileged operation
Access (fetch, operand 2)
Specification
Programming Note
To ensure that presently written programs run when
new facilities using additional control register posi
tions are installed, only zeros should be loaded in
unassigned control register positions.
Load PSW
o 8 16
System-Control Instructions