Page of GA22-7000-4
Revised September 1, 1975
By TNL: GN22-0498
also exist. For example, assume that theCPU timer
is negative and theCPU-timer subclass mask is one.
If the external newPSW has an exception which is
recognized as part of early recognition, and the pro
gram newPSW is enabled for external interruptions,
then a series of interruptions occur, alternating be
tween external and program. Even more complex
loops are possible.So long as more interruptions
must be serviced, the loop cannot be broken by em
ploying the stop function;CPU reset is required. Similarly, CPU reset has to be invoked to termi
nate the condition that exists when an interruption is
attempted with a prefix value designating a main
storage location that is not available to theCPU. On some models, when an excessive number of consecutive interruptions is detected which cannot
be broken by means of the stop function, theCPU enters a special state that can be exited only by use
of CI)U reset.
Interruptions for all requests for which theCPU is
enabled are taken before theCPU is placed in the
stopped state. When theCPU is in the stopped state,
restart has a higher priority than pendingI/O, exter
nal, or repressible machine-check conditions.Progl'amming Note
The order in which concurrent interruption requests
are honored can be changed to some extent by
masking.
Assigned Main-Storage LocationsReal' Main Storage
The chart "Assigned Locations in Real MainStor age" shows the format and extent of the assigned
locations in real main storage. In a multiprocessing
system, real storage addresses are transformed to
absolute addresses by means of prefixing. The loca
tions are used as follows. Unless specifically noted,
the usage applies to both the BC and EC modes.0- 7 Restart New P S W: The new PSW is
fetched from locations0-7 during the re.
start interruption.
8-15 RestartOld PSW: The current PSW is
stored as the oldPSW at locations 8-15
during the restart interruption.24-63 64-71 Interruption Old PSWs: The current PSW is stored as the old PSW at locations
24-31, 32-39, 40-47, 48-55, and 56-63
during the external, supervisor-call, pro
gram, machine-check, and input/output
interruptions, respectively.CSW: The channel status word (CSW) is
stored at locations 64-71 during anI/O 90 System/370 Principles of Operation
interruption. It, or portions thereof, may
be stored during the execution ofSTART I/O, START I/O FAST RELEASE, TEST I/O, CLEAR I/O, HALT I/O, or
HALT DEVICE, in which case condition
code 1 is set.
72-75 CA W: The channel address word (CAW)
is fetched from locations 72-75 during
the execution ofSTART I/O and START I/O FAST RELEASE. 80-83 Interval Timer: Locations 80-83 contain
the interval timer. The timer is updated
whenever theCPU is in the operating
state. Depending on the resolution of the
timer, the low-order locations may not be
updated.
88-127 Interruption NewPSWs: The new PSW is fetched from locations 88-95, 96-103,
104-111, 112-119, and120-127 during
the external, supervisor-call, program,
machine-check, and input/ output inter
ruptions, respectively.
132-133 Processor Address: During an external
interruption due to malfunction alert,
emergency signal, or external call, the
processor address associated with the
source of the interruption is stored at lo
cations 132-133. For all other external
interruption conditions, zeros are stored
at locations 132-133 when the oldPSW specified EC mode, and the field remains
unchanged when the oldPSW specified
the BC mode.
134-135 External-Interruption Code: During an
external interruption in the EC mode, the
interruption code is stored at locations
134-135.
136-139 Supervisor-Call-Interruption
Identification: During a supervisor-call
interruption in the EC mode, the
instruction-length code is stored in bit
positions 5 and 6 of location 137, and the
interruption code is stored at locations
138-139. Zeros are stored at location 136
and in the remaining bit positions of 137.
140-143 Program-Interruption Identification: Dur
ing a program interruption in the EC
mode, the instruction-length code is
stored in bit positions 5 and 6 of location
141, and the interruption code is stored
at locations 142-143. Zeros are stored at
location140 and in the remaining bit
positions of 141.
Revised September 1, 1975
By TNL: GN22-0498
also exist. For example, assume that the
is negative and the
If the external new
recognized as part of early recognition, and the pro
gram new
then a series of interruptions occur, alternating be
tween external and program. Even more complex
loops are possible.
must be serviced, the loop cannot be broken by em
ploying the stop function;
nate the condition that exists when an interruption is
attempted with a prefix value designating a main
storage location that is not available to the
be broken by means of the stop function, the
of CI)U reset.
Interruptions for all requests for which the
enabled are taken before the
stopped state. When the
restart has a higher priority than pending
nal, or repressible machine-check conditions.
The order in which concurrent interruption requests
are honored can be changed to some extent by
masking.
Assigned Main-Storage Locations
The chart "Assigned Locations in Real Main
locations in real main storage. In a multiprocessing
system, real storage addresses are transformed to
absolute addresses by means of prefixing. The loca
tions are used as follows. Unless specifically noted,
the usage applies to both the BC and EC modes.
fetched from locations
start interruption.
8-15 Restart
stored as the old
during the restart interruption.
24-31, 32-39, 40-47, 48-55, and 56-63
during the external, supervisor-call, pro
gram, machine-check, and input/output
interruptions, respectively.
stored at locations 64-71 during an
interruption. It, or portions thereof, may
be stored during the execution of
HALT DEVICE, in which case condition
code 1 is set.
72-75 CA W: The channel address word (CAW)
is fetched from locations 72-75 during
the execution of
the interval timer. The timer is updated
whenever the
state. Depending on the resolution of the
timer, the low-order locations may not be
updated.
88-127 Interruption New
104-111, 112-119, and
the external, supervisor-call, program,
machine-check, and input/ output inter
ruptions, respectively.
132-133 Processor Address: During an external
interruption due to malfunction alert,
emergency signal, or external call, the
processor address associated with the
source of the interruption is stored at lo
cations 132-133. For all other external
interruption conditions, zeros are stored
at locations 132-133 when the old
unchanged when the old
the BC mode.
134-135 External-Interruption Code: During an
external interruption in the EC mode, the
interruption code is stored at locations
134-135.
136-139 Supervisor-Call-Interruption
Identification: During a supervisor-call
interruption in the EC mode, the
instruction-length code is stored in bit
positions 5 and 6 of location 137, and the
interruption code is stored at locations
138-139. Zeros are stored at location 136
and in the remaining bit positions of 137.
140-143 Program-Interruption Identification: Dur
ing a program interruption in the EC
mode, the instruction-length code is
stored in bit positions 5 and 6 of location
141, and the interruption code is stored
at locations 142-143. Zeros are stored at
location
positions of 141.