instruction, for a unit of operation that is sup
pressed or nullified.
4.When the execution of the instruction is termi
nated, general-register and storage alteration is
indicated whenever the event hasoccuned. Additionally, a model may indicate the event if
the event would have occurred had the execu
tion of the instruction been completed, even if
altering the contents of the result field is con
tingent on operand values.
5. WhenLOAD PSW or SUPERVISOR CALL
causes aPER condition and at the same time
introduces a newPSW with the type of format
error that is recognized immediately after thePS"'N becomes active, the interruption code
identifies both thePER condition and the
specification exception. When these instruc
tions introduce aPSW format error of the type
that is recognized as part of the execution of
the following instruction, thePSW is stored as
the oldPSW without the exception being rec
ognized.
The indication of program events concurrently
with other program interruption conditions is sum
marized in the table "Indication of Program
Events."
Programming Notes
The execution of the interruptible instructionsMOVE LONG (MVCL) and COMPARE LOGI CAL LONG (CLCL) can cause events for general
register alteration and instruction fetch. Additional
ly,MVeL can cause the storage-alteration event.
Since the execution ofMVCL and CLCL can be
interrupted, a program event may be indicated more
thanon(:e. It may be necessary, therefore, for a pro
gram to remove the redundant event indications
fromPER data. The following rules govern the
44 System/370 Principles of Operation
indication of the applicable events during execution
of these two instructions:
1. The instruction-fetching event is indicated
whenever the instruction is fetched for execu
tion, regardless of whether it is the initial exe
cution or resumption.
2. The general-register-alteration event is indicat
ed on initial execution and on each resumption
and does not depend on whether or not the
register actually is changed.
3. The storage-alteration event is indicated only
when data has been stored in the monitored
area by the portion of the operation starting
with the last initiation and ending with the last
byte transferred before the interruption. No
special indication is provided on premature
interruptions as to whether the event will occur
again upon the resumption of the operation.
The event for address match on data storing
for a single byte location can be recognized
only once in the execution ofMOVE LONG. The following is an outline of the general action a
program must take to delete the redundant entries in
thePER data for MOVE LONG and COMPARE LOGICAL LONG so that only one entry for each
complete execution of the instruction is obtained:
1. Check to see if thePER address is equal to the
instruction address in the oldPSW and if the
last instruction executed wasMVCL or CLCL.
2. If both conditions are met, delete instruction
fetching and register-alteration events.
3. If both conditions are met, and the event is
storage alteration, delete the event if the cur
rent destination-operand address is within the
monitored area and the count for the destina
tion operand is not zero.
pressed or nullified.
4.
nated, general-register and storage alteration is
indicated whenever the event has
the event would have occurred had the execu
tion of the instruction been completed, even if
altering the contents of the result field is con
tingent on operand values.
5. When
causes a
introduces a new
error that is recognized immediately after the
identifies both the
specification exception. When these instruc
tions introduce a
that is recognized as part of the execution of
the following instruction, the
the old
ognized.
The indication of program events concurrently
with other program interruption conditions is sum
marized in the table "Indication of Program
Events."
Programming Notes
The execution of the interruptible instructions
register alteration and instruction fetch. Additional
ly,
Since the execution of
interrupted, a program event may be indicated more
than
gram to remove the redundant event indications
from
44 System/370 Principles of Operation
indication of the applicable events during execution
of these two instructions:
1. The instruction-fetching event is indicated
whenever the instruction is fetched for execu
tion, regardless of whether it is the initial exe
cution or resumption.
2. The general-register-alteration event is indicat
ed on initial execution and on each resumption
and does not depend on whether or not the
register actually is changed.
3. The storage-alteration event is indicated only
when data has been stored in the monitored
area by the portion of the operation starting
with the last initiation and ending with the last
byte transferred before the interruption. No
special indication is provided on premature
interruptions as to whether the event will occur
again upon the resumption of the operation.
The event for address match on data storing
for a single byte location can be recognized
only once in the execution of
program must take to delete the redundant entries in
the
complete execution of the instruction is obtained:
1. Check to see if the
instruction address in the old
last instruction executed was
2. If both conditions are met, delete instruction
fetching and register-alteration events.
3. If both conditions are met, and the event is
storage alteration, delete the event if the cur
rent destination-operand address is within the
monitored area and the count for the destina
tion operand is not zero.