HANDLING OF FLOATING INTERRUPTION CONDI TIONS An interruption condition which can be
presented to anyCPU in the configura
tionis called a floating interruption
condition. The condition is presented
to the firstCPU in the configuration
which is enabled for the corresponding
interruption andwhich can accept the
interruption, and then the conditionis cleared and not presented to any other CPU in the configuration. A CPU cannot
accept the interruption when itis in the check-stop state, has an invalid
prefix,is in a string of program inter
ruptions due to a specification
exception of the type whichis recog nized early, is executing a READ DIRECT
instruction, oris in the stopped state.
However,a CPU with the rate control set
to instruction step can accept the
interruption when the start keyis acti
vated.
Service signal and certain machine-check
conditionsare floating interruption
conditions.
INSTRUCTION-LENGTHCODE The instruction-length code (ILC) occu
pies two bit positions and provides the
length of the last instruction executed.
It permits identifyingthe instruction
causing the interruption when the
instruction addressin the old PSW designates the next sequential instruc
tion. The ILCis provided also by the
BRANCH AND LINK instructions.When the old PSW specifies the EC mode,
the ILC for program and supervisor-call
interruptionsis stored in bit positions
5 and 6 of the bytesat real locations
141 and 137, respectively. For
external,I/O, machine-check, and
restart interruptions, the ILC is not
stored since it cannot be related to the
length of the last-executed instruction.When the old PSW specifies the BC mode,
the ILC is storedin bit positions 32
and 33 of thatPSW. The ILC is meaning
ful, however, only after a supervisor-
call or program interruption. For
machine-check, external,I/O, and
restart interruptions, the ILC does not
indicate the length of the last-executed
instruction andis unpredictable. Simi
larly, the ILC is unpredictable in thePSW stored during execution of the
store-status function and when thePSW is displayed.
For supervisor-call and program inter
ruptions, a nonzero ILC identifiesin halfwords the length of the instruction
that was last executed. Whenever an
instruction is executed by means of
EXECUTE, instruction-length code 2 is
set to indicate the length of EXECUTE
and not that of the target instruction.
The value of a nonzero instruction
length codeis related to the leftmost
two bits of the instruction. The value
does not depend on whether the operation
code is assigned or on whether the
instructionis installed. The following
table summarizes the meaning of the
instruction-length code:
ILC Instr
Bits Instruction
Decimal Binary0-1 Length 0 00 Not available 1 01 00 One halfword
210 01 Two halfwords
210 10 Two halfwords
3 11 11 Three halfwords
Instruction-length code0, after a
program interruption, indicates that the
instruction address storedin the old PSW does not identify the instruction
causing the interruption.
An ILC of0 occurs when a specification
exception due to aPSW-format error is recognized as part of early exception
recognition and thePSW has been intro
duced byLOAD PSW or an interruption.
(See the section "Exceptions Associated
with thePSW" later in this chapter.)
In the case ofLOAD PSW, the instruction
address ofLOAD PSW or EXECUTE has been replaced by the instruction address of
the newPSW. When the invalid PSW is introduced by an interruption, the PSW format error cannot be attributed to an
instruction.On some models without the translation facility, an ILC of 0 occurs also when
an addressing exception or a protection
exception is recognized fora store-type
reference. In these cases, the inter
ruption due to the exception is delayed,
the length of time or number of
instructions of the delay being unpre
dictable.Neither the instruction
address of the instruction causing the
exception nor the length of the last
executed instructionis made available
to the program. This type of inter
ruptionis sometimes referred to as an
imprecise program interruption.
In the case ofLOAD PSW and the
supervisor-call interruption, aPER event may be indicated concurrently with
a specification exception having an ILC
ofO. Chapter 6. Interruptions 6-7
presented to any
tion
condition. The condition is presented
to the first
which is enabled for the corresponding
interruption and
interruption, and then the condition
accept the interruption when it
prefix,
ruptions due to a specification
exception of the type which
instruction, or
However,
to instruction step can accept the
interruption when the start key
vated.
Service signal and certain machine-check
conditions
conditions.
INSTRUCTION-LENGTH
pies two bit positions and provides the
length of the last instruction executed.
It permits identifying
causing the interruption when the
instruction address
tion. The ILC
BRANCH AND LINK instructions.
the ILC for program and supervisor-call
interruptions
5 and 6 of the bytes
141 and 137, respectively. For
external,
restart interruptions, the ILC is not
stored since it cannot be related to the
length of the last-executed instruction.
the ILC is stored
and 33 of that
ful, however, only after a supervisor-
call or program interruption. For
machine-check, external,
restart interruptions, the ILC does not
indicate the length of the last-executed
instruction and
larly, the ILC is unpredictable in the
store-status function and when the
For supervisor-call and program inter
ruptions, a nonzero ILC identifies
that was last executed. Whenever an
instruction is executed by means of
EXECUTE, instruction-length code 2 is
set to indicate the length of EXECUTE
and not that of the target instruction.
The value of a nonzero instruction
length code
two bits of the instruction. The value
does not depend on whether the operation
code is assigned or on whether the
instruction
table summarizes the meaning of the
instruction-length code:
ILC Instr
Bits Instruction
Decimal Binary
2
2
3 11 11 Three halfwords
Instruction-length code
program interruption, indicates that the
instruction address stored
causing the interruption.
An ILC of
exception due to a
recognition and the
duced by
(See the section "Exceptions Associated
with the
In the case of
address of
the new
instruction.
an addressing exception or a protection
exception is recognized for
reference. In these cases, the inter
ruption due to the exception is delayed,
the length of time or number of
instructions of the delay being unpre
dictable.
address of the instruction causing the
exception nor the length of the last
executed instruction
to the program. This type of inter
ruption
imprecise program interruption.
In the case of
supervisor-call interruption, a
a specification exception having an ILC
of