Set CPU Timer
[S]8208 o 16 20 The current value of the CPU timer is replaced by
the contents of the doubleword designated by the
second-operand address.
31Only those bits of the operand are set in the CPU timer that correspond to the bit positions to be up
dated; the contents of the remaining rightmost bit
positions are ignored and are not preserved in theCPU timer.
The operand must be designated on a doubleword
boundary; otherwise, aspecification exception is
recognized, and the operation is suppressed. The
operation is suppressed on protection and addressing
exceptions.
Condition Code: The code remains unchanged.
Program Exceptions:Operation (if the CPU timer is not installed)
Privileged operation
Access (fetch, operand 2)
Specification
Set PrefixSPX [S] 8210 o 16 20 31
The contents of the prefix register are replaced by
the contents of bit positions 8-19 of the word at the
location designated by the second-operand address.
All information in the translation-Iookaside buffer
(TLB) of thisCPU is made invalid.
If the operation is completed, the new prefix is
used for any interruptions following the execution of
the instruction and for the execution of subsequent
instructions. The contents of bit positions0-7 and 20-31 of the operand are ignored.
The TLB, if theCPU has one, appears cleared of
its original contents for all following instructions.
A serialization function is p.erformed.CPU oper
ation is delayed until all previous accesses by thisCPU to main storage have been completed, as ob
served by channels and otherCPUs. No subsequent
instructions, operands, or dynamic-address-
translation entries are fetched by thisCPU until the
execution of this instruction is completed.
The operand must be designated on a word
boundary; otherwise, a specification exception is
recognized, and the operation is suppressed. The
operation is suppressed on protection and addressing
exceptions.
Condition Code: The code remains unchanged.
Program Exceptions:Operation (if the multiprocessing feature is not
installed)
Privileged operation
Access (fetch, operand 2)
Specification
Set PSW Key From AddressSPKA [S] 820A o 16 20 The four-bit protection key of the current PSW is
replaced by bits 24-27 of the operand address.
The second-operand address is not used to ad
dress data; instead, bits 24-27 of the address form
the new key. Bits 8-23 and 28-31 of the second
operand address are ignored.
Resulting Condition Code: The code remains un
changed.
ProgramExceptions: 31 Operation (if the PSW -key-handling feature is not
installed)
Privileged operation
Programming Notes
The format of theSPKA instruction permits the
program to set the protection key either from the
general register designated by the B2 field or from
the D2 field in the instruction itself.
When a problem program requests the supervisor
program to access a location specified by the prob
lem program, theSPKA instruction can be used by
the supervisor program to verify that the problem
program is authorized to make this access, provided
the supervisor program is not protected against
fetching. The supervisor program can perform the
verification by replacing thePSW key of the supervi
sor program with the problem-program key before
making the access and subsequently restoring the
System-Control Instructions109
[S]
the contents of the doubleword designated by the
second-operand address.
31
dated; the contents of the remaining rightmost bit
positions are ignored and are not preserved in the
The operand must be designated on a doubleword
boundary; otherwise, a
recognized, and the operation is suppressed. The
operation is suppressed on protection and addressing
exceptions.
Condition Code: The code remains unchanged.
Program Exceptions:
Privileged operation
Access (fetch, operand 2)
Specification
Set Prefix
The contents of the prefix register are replaced by
the contents of bit positions 8-19 of the word at the
location designated by the second-operand address.
All information in the translation-Iookaside buffer
(TLB) of this
If the operation is completed, the new prefix is
used for any interruptions following the execution of
the instruction and for the execution of subsequent
instructions. The contents of bit positions
The TLB, if the
its original contents for all following instructions.
A serialization function is p.erformed.
ation is delayed until all previous accesses by this
served by channels and other
instructions, operands, or dynamic-address-
translation entries are fetched by this
execution of this instruction is completed.
The operand must be designated on a word
boundary; otherwise, a specification exception is
recognized, and the operation is suppressed. The
operation is suppressed on protection and addressing
exceptions.
Condition Code: The code remains unchanged.
Program Exceptions:
installed)
Privileged operation
Access (fetch, operand 2)
Specification
Set PSW Key From Address
replaced by bits 24-27 of the operand address.
The second-operand address is not used to ad
dress data; instead, bits 24-27 of the address form
the new key. Bits 8-23 and 28-31 of the second
operand address are ignored.
Resulting Condition Code: The code remains un
changed.
Program
installed)
Privileged operation
Programming Notes
The format of the
program to set the protection key either from the
general register designated by the B2 field or from
the D2 field in the instruction itself.
When a problem program requests the supervisor
program to access a location specified by the prob
lem program, the
the supervisor program to verify that the problem
program is authorized to make this access, provided
the supervisor program is not protected against
fetching. The supervisor program can perform the
verification by replacing the
sor program with the problem-program key before
making the access and subsequently restoring the
System-Control Instructions