parameters are adjusted such that the execution of
the interrupted instruction is resumed from the point
of interruption when the oldPSW stored on the in
terruption is made the currentPSW. It depends on
the instruction how the operand parameters are ad
justed.
When a unit of operation is suppressed, the in
struction address in the oldPSW designates the next
sequential instruction. The operand parameters,
however, are adjusted so as to indicate the extent to
which instruction execution has been completed. If
the instruction is reexecuted after the conditions
causing the suppression have been removed, the
execution is resumed from the point of interruption.
As in the case of completion and nullification, it
depends on the instruction how the operand parame
ters are adjusted.
When a unit of operation of an interruptible in
struction is terminated, the contents, in general, of
any fields due to be changed by the instruction are
unpredictable.On an interruption, the instruction
address in the oldPSW designates the next sequen
tial instruction.
Machine-Check Interruption
The machine-check interruption provides a means
for reporting to the program theoc-currence of
equipment malfunctions. Information is provided to
assist the program in determining the location of the
fault and extent of the damage.
A machine-check interruption causes the oldPSW to be stored at location 48 and a new PSW to be
fetched from location 112. When the oldPSW spec
ifies the BC mode, the interruption code and the
instruction-length code in the oldPSW are unpredict
able.
The cause and severity of the malfunction are
identified by a 64-bit machine-check code stored at
location 232. Further information identifying the
cause of the interruption and the location of the fault
may be stored at locations 216-511 and in the area
starting with the location designated by the contents
of control register 15.
Interruption action and the storing of the associ
ated information are under the control ofPSW bit
13 and bits in control register 14.See the chapter
"Machine-Check Handling" for more detailed in
formation.
Program Interruption
Exceptions resulting from execution of the program,
including the improper specification or use of in
structions and data, or the detection of a program or
monitor event cause a program interruption.A program interruption causes the old PSW to be
stored at location40 and a new PSW to be fetched
from location104. The cause of the interruption is identified by the
interruption code. When the oldPSW specifies the
BC mode, the interruption code and the instruction
length code are placed in the oldPSW; when it speci
fies the EC mode, the interruption code is placed at
locations 142-143, the instruction-length code is
placed in bit positions 5 and 6 of the byte at location
141, with the rest of the bits set to zero, and zeros
are stored at location140. For some causes addition
al information identifying the reason for the inter
ruption is stored in main-storage locations 144-159.
Except for the program-event condition, the con
dition causing the interruption is identified by a cod
ed value placed in the rightmost seven bit positions
of the interruption code.Only one condition at a
time can be indicated. Bits0-7 of the interruption
code are set to zeros.
The program-event condition is indicated by set
ting bit 8 of the interruption code to one, with bits0- 7 set to zeros. A program-event condition can be
indicated concurrently with another program inter
ruption condition, in which case bit 8 is one and the
coded value appears in bit positions 9-15.
A program interruption can occur only when the
corresponding mask bit, if any, is one. The program
mask in thePSW permits masking four of the excep
tions, bit 1 in control register0 controls whether SET SYSTEM MASK causes a special-operation
exception, bits 16-31 in control register 8 control
interruptions due to monitor events, and, in the EC
mode, masks are provided for controlling interrup
tions due to program events. When the mask bit is
zero, the condition is ignored; the condition does not
remain pending.
Programming Note
When the newPSW for a program interruption has 11 format error or causes an exception to be recognized
in the process of instruction fetching, a string of
program interruptions takes place.See "Priority of
Interruptions" for a description of how such strings
are terminated.Some of the conditions indicated as program ex
ceptions may be recognized also by anI/O opera
tion, in which case the exception is indicated in the
channel status word.
Program Interruption Conditions
The following is a detailed description of each
program-interruption condition.
Interruptions 75
the interrupted instruction is resumed from the point
of interruption when the old
terruption is made the current
the instruction how the operand parameters are ad
justed.
When a unit of operation is suppressed, the in
struction address in the old
sequential instruction. The operand parameters,
however, are adjusted so as to indicate the extent to
which instruction execution has been completed. If
the instruction is reexecuted after the conditions
causing the suppression have been removed, the
execution is resumed from the point of interruption.
As in the case of completion and nullification, it
depends on the instruction how the operand parame
ters are adjusted.
When a unit of operation of an interruptible in
struction is terminated, the contents, in general, of
any fields due to be changed by the instruction are
unpredictable.
address in the old
tial instruction.
Machine-Check Interruption
The machine-check interruption provides a means
for reporting to the program the
equipment malfunctions. Information is provided to
assist the program in determining the location of the
fault and extent of the damage.
A machine-check interruption causes the old
fetched from location 112. When the old
ifies the BC mode, the interruption code and the
instruction-length code in the old
able.
The cause and severity of the malfunction are
identified by a 64-bit machine-check code stored at
location 232. Further information identifying the
cause of the interruption and the location of the fault
may be stored at locations 216-511 and in the area
starting with the location designated by the contents
of control register 15.
Interruption action and the storing of the associ
ated information are under the control of
13 and bits in control register 14.
"Machine-Check Handling" for more detailed in
formation.
Program Interruption
Exceptions resulting from execution of the program,
including the improper specification or use of in
structions and data, or the detection of a program or
monitor event cause a program interruption.
stored at location
from location
interruption code. When the old
BC mode, the interruption code and the instruction
length code are placed in the old
fies the EC mode, the interruption code is placed at
locations 142-143, the instruction-length code is
placed in bit positions 5 and 6 of the byte at location
141, with the rest of the bits set to zero, and zeros
are stored at location
al information identifying the reason for the inter
ruption is stored in main-storage locations 144-159.
Except for the program-event condition, the con
dition causing the interruption is identified by a cod
ed value placed in the rightmost seven bit positions
of the interruption code.
time can be indicated. Bits
code are set to zeros.
The program-event condition is indicated by set
ting bit 8 of the interruption code to one, with bits
indicated concurrently with another program inter
ruption condition, in which case bit 8 is one and the
coded value appears in bit positions 9-15.
A program interruption can occur only when the
corresponding mask bit, if any, is one. The program
mask in the
tions, bit 1 in control register
exception, bits 16-31 in control register 8 control
interruptions due to monitor events, and, in the EC
mode, masks are provided for controlling interrup
tions due to program events. When the mask bit is
zero, the condition is ignored; the condition does not
remain pending.
Programming Note
When the new
in the process of instruction fetching, a string of
program interruptions takes place.
Interruptions" for a description of how such strings
are terminated.
ceptions may be recognized also by an
tion, in which case the exception is indicated in the
channel status word.
Program Interruption Conditions
The following is a detailed description of each
program-interruption condition.
Interruptions 75