CHAPTER 10. CONTROL INSTRUCTIONS CONNECT CHANNEL SET ..•••••••.•••.••••.••.•.••••..•.•.••. 10-4 DIAGNOSE .....•...•.•.•••••....••.•••••.•.•••••••••.•..•. 10-5 DISCONNECT CHANNEL SET .........•..•••..•..•.•••..•.••... 10-6 EXTRACT PRIMARY ASN ...•..•••.••...•..•...•.....•••..•.•• 10-6 EXTRACT SECONDARY ASN .••.••••••••••••••••••••.•••.•••••• 10-7 INSERT ADDRESS SPACE CONTROL .•.••••••.•••••••••••••••••• 10-7 INSERT PSW KEy .•.•••.•.•.•••...•.•..•...•.•.•••••.•••••• 10-8 INSERT STORAGE KEY .•.......•.....••••••••..•••••....•.•. 10-8 INSERT STORAGE KEY EXTENDED ••.•..•••••••••••••.•....•.•. 10-9 INSERT VIRTUAL STORAGE KEY .•...........••••••••••.•••••• 10-10 INVALIDATE PAGE TABLE ENTRY .••..•.••••.•••.••••...•••.•. 10-11 LOAD ADDRESS SPACE PARAMETERS .....••.•••...•.•.......... 10-12 LOAD CONTROL .....•..........•.••.••••••••••••••••.•..••. 10-20 LOAD PSW ........••....•.•.•.•..••••••.•••••••••••••.•.•. 10-20 LOAD REAL ADDRESS •......••••••...••••.••.•.••••.••••.••• 10-21 MOV E TO PRIMARY ..••••.•••••••..•••••••.••••••••••.•••.•. 10-22 MOVE TO SECONDARY •..•.•••••.•••••.••••..••••••••.•••...• 10-22 MOVE WITH KEy ...•..•••••••••••.•••..•..•••••••••••.••••• 10-24 PROGRAM CALL ....•••...••.•••.••.•••.••••••••••••••••.••. 10-25 PROGRAM TRANSFER .....••...•••.....•.•.......•.•••••.•••• 10-31 PURGE TLB ...••.••.•••.•.••••••••...•••••..••••••••••.••• 10-36 READ DIRECT ..•.•••...•.•••••....•..••...••••.•••••••.••. 10-36 RESET REFERENCE BIT .•..•.••.•..•.••••...••....•••••••••• 10-36 RESET REFERENCE BIT EXTENDED ...•••.•...•.•..••.•••.••••• 10-37 SET ADDRESS SPACE CONTROL .•••..••..•.•...•..•••••••.•••• 10-38 SET CLOCK ....•...••..•.••••••••••.•.•..•..••.••••••••••• 10-39 SET CLOCK COMPARATOR ..•.......••.•....•...•••..••.•••••• 10-39 SET CPU TIMER ................................•...•.•.••• 10-40 SET PREFIX ............••.................•...•..•••••..• 10-40 SET PSW KEY FROM ADDRESS ••...•..••.•..•....•.•.••••.•••. 10-41 SET SECONDARY ASN .........•........•.••••......••.••.••• 10-41 SET STORAGE KEy .........••.••..••.•.•••••••••••••.•..••. 10-45 SET STORAGE KEY EXTENDED •..•....••••••••••.•••.•...••..• 10-45 SET SYSTEM MASK ........••••••..•..••••.••..•••.••••••••• 10-46 SIGNAL PROCESSOR .•......•.•••...•.•.••••••••••.....•..•• 10-46 STORE CLOCK COMPARATOR .•..•...•..•.•••••...••••.....•.•. 10-47 STORE CONTROL ............•••...•••••.•••..•••••...•..••. 10-48 STORE CPU ADDRESS •••.••••••.••...••••...••••••.••....... 10-48 STORE CPU 10 .•.•••••.•••.••••••••••••.•••••••.••••••.••• 10-48 STORE CPU TIMER .••••.••••••••••••••••••••••.••••.•••.••. 10-49 STORE PREFIX ...•.•.......••••...••••••.••••••..•.•...•.. 10-49 STORE THEN AND SYSTEM MASK .••..•.••.•..•.••.••••.••...•. 10-50 STORE THEN OR SYSTEM MASK ••••••••••.••••••••••••...••.•. 10-50 TEST BLOCK •.....•.......•••••....••••••••..•••...••...•• 10-50 TEST PROTECTION .............•........•.••.•••.•.•••••.•• 10-52 WRITE DIRECT .....•.........•.....•.•.••..••.•••••••.•••• 10-54 Chapter 10. Control Instructions 10-1
This chapter includes all privileged and
semiprivileged instructions described in
this publication, except the
input/output instructions, which are
described in Chapter 13, "Input/Output
Operations." Privileged instructions may be executed
only when the CPU is in the supervisor
state. An attempt to execute an
installed privileged instruction in the
problem state generates a privileged­
operation exception.
The semiprivileged instructions are
those instructions that can be executed
in the problem state when certain
authority requirements are met. An
attempt to execute an installed semi­
privileged instruction in the problem
state when the authority requirements
are not met generates a privileged­
operation exception or some other
program-interruption condition depending
on the particular requirement which is
violated. Those requirements which
cause a privileged-operation exception
to be generated in the problem state are 10-2 System/370 Principles of Operation
not enforced when execution is attempted
in the supervisor state.
The control instructions and their
mnemonics, formats, and operation codes
are listed in the figure "Summary of Control Instructions." The figure also
indicates when the condition code is set
and the exceptional conditions in oper­
and designations, data, or results that
cause a program interruption.
For those control instructions which
have special rules regarding the handl­
ing of exceptional situations, a section
called "Special Conditions" is included.
This section indicates the type of
ending (suppression, nullification, or
completion) only for those exceptions
for which the ending may vary.
Note: In the detailed descriptions of
the individual instructions, the mnemon­
ic and the symbolic operand designation
for the assembler language are shown
with each instruction. For LOAD PSW, for example, LPSW is the mnemonic and 02(B
2
)
the operand designation.
Previous Page Next Page