Machine-Check Mask (M): Bit 13 controls whether
theCPU is enabled for interruption by machine
check conditions. Its meaning is the same as in the
BC mode.
Wait State (W): When bit 14 is one, theCPU is in
the wait state. When bit 14 is zero, theCPU is in the
running state.
Problem State (P): When bit 15 is one, theCPU is
in the problem state. When bit 15 is zero, theCPU is
in the supervisor state.
Condition Code (CC): Bits 18 and 19 are the two
bits of the condition code.
Program Mask: Bits 20-23 are the four program
mask bits. The meaning of these bits is the same as
that of bits 36-39 of the BePSW. Instruction Address: Bits 40-63 form the logical
instruction address. This address designates the loca
tion of the leftmost byte of the next instruction.
Bit positions0, 2-4, 16-17, and 24-39 are unas
signed. A specification exception is recognized when
these bit positions do not contain zeros.
Exceptions Associated with the PSW
Exceptions associated with the information in the
currentPSW may be recognized when the informa
tion is introduced into thePSW, or as part of the
execution of the next instruction.
Early Exception Recognition
For the following error conditions, a program inter
ruption for specification exception occurs immedi
ately after thePSW becomes active. • A one is introduced into an unassigned bit posi
tion of the EC-modePSW. • The EC mode is specified (PSW bit 12 is one)
in aCPU that does not have the EC facility
installed.
The interruption takes place regardless of whether
the wait state is specified. If the invalidPSW causes
theCPU to become enabled for a pending I/O, ex
ternal, or machine-check interruption, the program
interruption is taken instead, and the pending inter
ruption is subject to the mask bits of the newPSW introduced by the program interruption. If the EC
facility is not installed, bits0-15 and 34-63 of the
invalidPSW are stored unchanged into the corre
sponding bit positions ofprogram,old PSW, and
the interruption code and instruction-length code are
stored into bit positions 16-33 of the program oldPSW. When the execution of LOAD PSW or an inter
ruption introduces a.PSW with one of the above
conditions, the instruction-length code is set to0, and the newly introduced PSW, except for the inter
ruption code and the instruction-length code in the
BC mode, is stored unmodified as the oldPSW. When one of the above error conditions is intro
duced by execution ofSET SYSTEM MASK or STORE THEN OR SYSTEM MASK, the
instruction-length code is set to 2, and the instruc
tion address is updated by two halfword locations.
ThePSW containing the invalid value introduced
into the system-mask field is stored as the oldPSW. When a PSW with one of the above error condi
tions is introduced during initial program loading, the
loading sequence is not completed, and the load light
remains on.
Late Exception Recognition
For the following conditions, the exception is recog
nized as part of the execution of the next instruction.• An instruction address is introduced in which PSW bit 63 is one (specification exception). • An access (addressing, protection, segment
translation, page-translation, ortranslat\on specification) exception is associated with the
location designated by the instruction address
or the second or third halfword of the instruc
tion starting at the designated address.
If the invalidPSW causes the CPU to be enabled
for a pendingI/O, external, or machine-check inter
ruption, the corresponding interruption occurs, and
thePSW invalidity is not recognized. Similarly, the
specification or access exception is not recognized in
aPSW specifying the wait state.
For specification, addressing, protection, and
translation-specification exceptions, the instruction
length code (ILC) stored upon the program interrup
tion is 1, 2, or 3, indicating the number of halfword
locations by which the instruction address has been
updated. Whether the ILC is 1, 2, or 3 is unpredicta
ble. For segment-translation and page-translation
exceptions, the instruction address is not updated,
and the ILC is 1, 2, or 3, the indication being unpre
dictable. In other respects, the currentPSW, except
for the interruption code and the ILC in the BC
mode, is stored unmodified as the oldPSW and con
tains the invalid value causing the interruption.System Control 35
the
check conditions. Its meaning is the same as in the
BC mode.
Wait State (W): When bit 14 is one, the
the wait state. When bit 14 is zero, the
running state.
Problem State (P): When bit 15 is one, the
in the problem state. When bit 15 is zero, the
in the supervisor state.
Condition Code (CC): Bits 18 and 19 are the two
bits of the condition code.
Program Mask: Bits 20-23 are the four program
mask bits. The meaning of these bits is the same as
that of bits 36-39 of the Be
instruction address. This address designates the loca
tion of the leftmost byte of the next instruction.
Bit positions
signed. A specification exception is recognized when
these bit positions do not contain zeros.
Exceptions Associated with the PSW
Exceptions associated with the information in the
current
tion is introduced into the
execution of the next instruction.
Early Exception Recognition
For the following error conditions, a program inter
ruption for specification exception occurs immedi
ately after the
tion of the EC-mode
in a
installed.
The interruption takes place regardless of whether
the wait state is specified. If the invalid
the
ternal, or machine-check interruption, the program
interruption is taken instead, and the pending inter
ruption is subject to the mask bits of the new
facility is not installed, bits
invalid
sponding bit positions of
the interruption code and instruction-length code are
stored into bit positions 16-33 of the program old
ruption introduces a
conditions, the instruction-length code is set to
ruption code and the instruction-length code in the
BC mode, is stored unmodified as the old
duced by execution of
instruction-length code is set to 2, and the instruc
tion address is updated by two halfword locations.
The
into the system-mask field is stored as the old
tions is introduced during initial program loading, the
loading sequence is not completed, and the load light
remains on.
Late Exception Recognition
For the following conditions, the exception is recog
nized as part of the execution of the next instruction.
translation, page-translation, or
location designated by the instruction address
or the second or third halfword of the instruc
tion starting at the designated address.
If the invalid
for a pending
ruption, the corresponding interruption occurs, and
the
specification or access exception is not recognized in
a
For specification, addressing, protection, and
translation-specification exceptions, the instruction
length code (ILC) stored upon the program interrup
tion is 1, 2, or 3, indicating the number of halfword
locations by which the instruction address has been
updated. Whether the ILC is 1, 2, or 3 is unpredicta
ble. For segment-translation and page-translation
exceptions, the instruction address is not updated,
and the ILC is 1, 2, or 3, the indication being unpre
dictable. In other respects, the current
for the interruption code and the ILC in the BC
mode, is stored unmodified as the old
tains the invalid value causing the interruption.