The instruction-length code is 0, 1, 2,
or 3. Code0 is set only if a specifi
cation exception is indicated concur
rently.
ThePER event is indicated by setting
bit8 of the program-interruption code
to one.See the section "Program-Event Recording" in Chapter 4, "Control," for
adetailed description of the PER event
and the associated interruption informa
tion.Primary-Authority Exception
A primary-authority exception is recog
nized duringASH authorization in PROGRAM TRANSFER with space switching (PT-ss) when either:
1. The authority-table entryindicated by the authorization index in
control register 4 is beyond the
length of the authority table
designated by theASN-second-table entry.
2. The primary-authority bit indicated
by the authorization index is zero.
TheASH being translated is stored at
real locations 146-147, and real
locations 144-145are set to zeros.
The operation is nullified.
The instruction-lengthcode is 2.
The primary-authorityexception is indi
cated by a program-interruption code of0024 hex (or OOA4 hex if a concurrent PER event is indicated). Privileged-Operation Exception
Aprivileged-operation exception is
recognizedwhen any of the following is
true:
1. Execution of aprivileged instruc
tion is attempted intha problem
state.
2.The value of the rightmost bit of the general register designated by
the R2 field of thePROGRAM TRANS FER instruction is zero and would cause the PSW bit to
change from the problem state (one)
tothe supervisor 5tate (zero). 3. In the problem state, the key value
specified bythe second operand of
theSET PSW KEY FROM ADDRESS instruction corresponds to a zero PSW-key-mask bit in control regis
ter 3.
4. In the problem state, the key value
specified by the rightmost byte of
the register designated by theR3 field of the MOVE WITH KEY instruc
tion corresponds to a zeroPSW key-mask bit in control register 3.
5. In the problem state, the key value
specified by the rightmost byte of
the register designated by theR3 field of the instructions MOVE TO PRIMARY and MOVE TO SECONDARY corresponds to a zero PSW-key-mask bit in control register 3.
6. In the problem state, any of the
instructions
EXTRACTPRIMARY ASN EXTRACT SECONDARY ASH INSERT ADDRESS SPACE CONTROL INSERT PSW KEY INSERT VIRTUAL STORAGE KEY is encountered, and the
extraction-authority control, bit 4
of control register0, is zero.
7. Inthe problem state, the result of
ANDing the authorization key mask
(AKM) withthe PSW-key mask in
control register 3 duringPROGRAM CALL produces a result of zero.
The operation is suppressed.
The instruction-length code is 1, 2, or
3.
The privileged-operation exceptionis indicated by a program-interruption code
of0002 hex (or 0082 hex if a concurrent PER event is indicated). Protection Exception
A protectionexception is recognized
when any of the following is true:
1.Key-Controlled Protection: The CPU attempts to access a storage
location that is protected againstthe type of reference, and the
accesskey does not match the stor
age key.
2. low-AddressProtection: The CPU attempts a store that is subject to
low-address protection, the effec
tive address is in the range0-511, and the low-address protection
control, bit 3 of control register0, is one.
3.Segment Protection: The CPU attempts to store, with DAT on, into a segment which has the
segment-protection bit set to one.Chapter 6. Interruptions 6-23
or 3. Code
cation exception is indicated concur
rently.
The
bit
to one.
a
and the associated interruption informa
tion.
A primary-authority exception is recog
nized during
1. The authority-table entry
control register 4 is beyond the
length of the authority table
designated by the
2. The primary-authority bit indicated
by the authorization index is zero.
The
real locations 146-147, and real
locations 144-145
The operation is nullified.
The instruction-length
The primary-authority
cated by a program-interruption code of
A
recognized
true:
1. Execution of a
tion is attempted in
state.
2.
the R2 field of the
change from the problem state (one)
to
specified by
the
ter 3.
4. In the problem state, the key value
specified by the rightmost byte of
the register designated by the
tion corresponds to a zero
5. In the problem state, the key value
specified by the rightmost byte of
the register designated by the
6. In the problem state, any of the
instructions
EXTRACT
extraction-authority control, bit 4
of control register
7. In
ANDing the authorization key mask
(AKM) with
control register 3 during
The operation is suppressed.
The instruction-length code is 1, 2, or
3.
The privileged-operation exception
of
A protection
when any of the following is true:
1.
location that is protected against
access
age key.
2. low-Address
low-address protection, the effec
tive address is in the range
control, bit 3 of control register
3.
segment-protection bit set to one.