control registers 1, 5, and 7. When the
stepsare not successful, no control
registersare changed, and the reason is
indicated in the condition code.
The doubleword first operand contains a
PSW-key mask (PKM), a secondaryASH (SASH), an authorization index (AX), and
a primaryASH (PASH). The primary ASH is translated by means of the ASH translation tables to obtain a PSTD,
LTD, and, optionally, an AX. The
secondaryASH is translated by means of
the ASH-translation tables to obtain an
SSTD, and, optionally, an authority
check is made to ensure that the new AX
is authorized to establish the newSASH. The doubleword at the first-operand
location has the following format:
PKM-dSASH-d AX-d PASN-d
o 1632 48 63 The "d" stands for designated doubleword
and is used to distinguish these fields
from other fields with similar names
which are referred to in the definition.
The current contents of the correspond
ing fields in the control registers are
referred to as PKM-old, SASH-old, etc.
The updated contents of the control
registers are referred to as PKM-new,
SASH-new, etc.
The second-operand address is not used
to address data; instead, the rightmost
three bits are used to control portions
of the operation. The remainder of the
second-operand address is ignored. Bits
29-31 of the second-operand address are
used as follows:
Function Specified
in Second Operand
Bit When Bit I s Zero When Bit Is One
29ASH translation ASH translation
performed only performed.*
when newASH and
oldASH are dif-
ferent.30 Use AX associ-Use AX from
ated withPASH. first operand. 31 SASH authoriza- SASH authoriza-
tion performed.* tion not per-
formed.* SASH translation and SASH authori-
zation are performed only whenSASH-d is not equal to PASH-d.
When SASN-d is equal toPASH-d, the SSTD is loaded from the PSTD,
and no authorization is performed.
The operation
PARAMETERS is
of LOAD ADDRESS
depicted in theSPACE figure
"Execution ofLOAD ADDRESS SPACE PARAME TERS." PASH Translation
In thePASH translation process, the
PASH-d is translated by means of theASH first table and the ASH second table.
The STD and LTD fields and, optionally,
the AX field, obtained from theASH second-table entry are subsequently used
to update the corresponding control
registers.
When bit 29 of the second-operand
address is one,PASH translation is
always performed. When bit 29 is zero,PASH translation is performed only when
PASH-d is not equal to PASH-old. When
bit 29 is zero and PASH-d is equal to
PASH-old, the PSTD-old and LTD-old are
left unchanged in the control registers
and become the PSTD-new and LTD-new,
respectively. In this case, if bit30 i s zero, then the AX-o 1 dis left
unchanged in the control register and
becomes the AX-new.
The PASN translation follows the normal
rules for ASH translation, except that
the invalid bits, bit0 in the ASH first-table entry and bit 0 in the ASH second-table entry, when ones, do not
result in an ASH-translation exception,
and the space-switch-event-control bit
in the ASH-second-table entry, when one,
does not result in a space-switch event.
When either of the invalid bits is one,
condition code 1 is set. When theASH second-table entry is valid and either
the current space-switch-event-control
bit in control register 1 is one or the
space-switch-event-control bit in the
ASH-second-table entry is one, condition
code3 is set. When condition code 1 or
3 is set, the control registers remain
unchanged.
The contents of the AX, STD, and LTD
fields in the ASH-second-table entry
which is accessed as a result of thePASH translation are referred to as
AX-p, STD-p, and LTD-p, respectively.
SASH Translation
In the SASH-translation process, theSASH-d is translated by means of the ASH first table and the ASH second table.
The STD field obtained from the ASH
second-table entry is subsequently used
to update the secondary-segment-table
designation (S5TD) in control register
7. The ATO and ATL fields obtained are
used in the SASH authorization, if it
occurs.Chapter 10. Control Instructions 10-13
steps
registers
indicated in the condition code.
The doubleword first operand contains a
PSW-key mask (PKM), a secondary
a primary
LTD, and, optionally, an AX. The
secondary
the ASH-translation tables to obtain an
SSTD, and, optionally, an authority
check is made to ensure that the new AX
is authorized to establish the new
location has the following format:
PKM-d
o 16
and is used to distinguish these fields
from other fields with similar names
which are referred to in the definition.
The current contents of the correspond
ing fields in the control registers are
referred to as PKM-old, SASH-old, etc.
The updated contents of the control
registers are referred to as PKM-new,
SASH-new, etc.
The second-operand address is not used
to address data; instead, the rightmost
three bits are used to control portions
of the operation. The remainder of the
second-operand address is ignored. Bits
29-31 of the second-operand address are
used as follows:
Function Specified
in Second Operand
Bit When Bit I s Zero When Bit Is One
29
performed only performed.*
when new
old
ferent.
ated with
tion performed.* tion not per-
formed.
zation are performed only when
When SASN-d is equal to
and no authorization is performed.
The operation
PARAMETERS is
of LOAD ADDRESS
depicted in the
"Execution of
In the
PASH-d is translated by means of the
The STD and LTD fields and, optionally,
the AX field, obtained from the
to update the corresponding control
registers.
When bit 29 of the second-operand
address is one,
always performed. When bit 29 is zero,
PASH-d is not equal to PASH-old. When
bit 29 is zero and PASH-d is equal to
PASH-old, the PSTD-old and LTD-old are
left unchanged in the control registers
and become the PSTD-new and LTD-new,
respectively. In this case, if bit
unchanged in the control register and
becomes the AX-new.
The PASN translation follows the normal
rules for ASH translation, except that
the invalid bits, bit
result in an ASH-translation exception,
and the space-switch-event-control bit
in the ASH-second-table entry, when one,
does not result in a space-switch event.
When either of the invalid bits is one,
condition code 1 is set. When the
the current space-switch-event-control
bit in control register 1 is one or the
space-switch-event-control bit in the
ASH-second-table entry is one, condition
code
3 is set, the control registers remain
unchanged.
The contents of the AX, STD, and LTD
fields in the ASH-second-table entry
which is accessed as a result of the
AX-p, STD-p, and LTD-p, respectively.
SASH Translation
In the SASH-translation process, the
The STD field obtained from the ASH
second-table entry is subsequently used
to update the secondary-segment-table
designation (S5TD) in control register
7. The ATO and ATL fields obtained are
used in the SASH authorization, if it
occurs.