By using the ASH-translation mechanism,
anyone of up to 64K address spacescan be selected to bacome the primary or
secondary address space.
TheASNs for the primary and secondary
address spacesare assigned positions in
controlregiste The ASN for the
primary address5, ee, called the prima
ryASH, is assigned bits 16-31 of
control register 4, and that for the
secondary address space, called the
secondaryASH, is assigned bits 16-31 of
control register 3. The registers have
the following formats:
Control Register 4PASH 16 31
Control Register 3SASH 16 31
An instruction that usesASH translation
and loads the primary or secondary
segment-table designation into the
appropriate controlregister also loads
the correspondingASH into the appropri
ate control register.
Note: Virtual storage consisting of
byte locations ordered according to
their virtual addresses in an address
space is usually referred to as
"storage."ASN TRANSLATION ASN translation is the process of trans
lating the 16-bitASN to locate the
address-space-control parameters. ASN
translation is performed as part ofPROGRAM CALL with space switching
(PC-ss),PROGRAM TRAHSFER with space
switching (PT-ss), and SETSECOHDARY ASH with space switching (SSAR-ss). ASH translation is also performed as part of LOAD ADDRESS SPACE PARAMETERS. For
PC-ss and PT-ss, theASH which is trans lated replaces the primary ASH in
control register 4. For SSAR-ss, theASN which is translated replaces the
secondary ASN in control register 3.
These two translation processesare called primary ASN translation and
secondaryASN translation, respectively,
and bothcan occur for LOAD ADDRESS
SPACE PARAMETERS. TheASH-translation process is the same for both primary and secondary ASN translation; only the uses , of the results of the process are
different.
TheASH-translation process uses two
tables, theASH first table and the ASH second table. They are used to locate
the address-space-control parameters anda third table, the authority table,
which isused when ASN authorization is
performed.
For the purposes of this translation,
the 16-bitASN is considered to consist
of two parts: the ASN-first-table index
(AFX) is the leftmost10 bits of the ASN, and the ASN-second-table index
(ASX) is the six rightmost bits. TheASH has the following format: ASH AFX ASX
o10 15
The AFX is used to selectan entry from
theASN first table. The origin of the ASH first table is designated by the
ASN-first-table origin in control regis
ter 14. The ASN-first-table entry
contains the origin of theASH second
table. The ASX is used to selectan entry from the ASN second table. This
entry contains the address-space-control
parameters.ASH-TRANSLATION CONTROLS ASN translation is controlled by
ASH-translation-control bit and
ASH-first-table origin, both of
reside in control register 14.
registerhas the following format:
Control Register 14AFTO 12 20 31
the
the
which
The
ASN-Translation Control(+): Bit 12 of
control register 14 1S theASN translation-control bit. This bit
provides a mechanism whereby the control
program can indicate whetherASN trans
lation can occur while a particular
program is being executed. Bit 12 must
be one to allow completion of these
instructions:LOAD ADDRESS SPACE PARAMETERS
SETSECONDARY ASN PROGRAM CALL with space switching PROGRAM TRAHSFER with space switch-
ingOtherwise, a special-operation exception
is recognized. The ASN-translation
control bit is examined in both the
problem and the supervisor states.
Chapter3. Storage 3-13
anyone of up to 64K address spaces
secondary address space.
The
address spaces
control
primary address
ry
control register 4, and that for the
secondary address space, called the
secondary
control register 3. The registers have
the following formats:
Control Register 4
Control Register 3
An instruction that uses
and loads the primary or secondary
segment-table designation into the
appropriate control
the corresponding
ate control register.
Note: Virtual storage consisting of
byte locations ordered according to
their virtual addresses in an address
space is usually referred to as
"storage."
lating the 16-bit
address-space-control parameters. ASN
translation is performed as part of
(PC-ss),
switching (PT-ss), and SET
PC-ss and PT-ss, the
control register 4. For SSAR-ss, the
secondary ASN in control register 3.
These two translation processes
secondary
and both
SPACE PARAMETERS. The
different.
The
tables, the
the address-space-control parameters and
which is
performed.
For the purposes of this translation,
the 16-bit
of two parts: the ASN-first-table index
(AFX) is the leftmost
(ASX) is the six rightmost bits. The
o
The AFX is used to select
the
ASN-first-table origin in control regis
ter 14. The ASN-first-table entry
contains the origin of the
table. The ASX is used to select
entry contains the address-space-control
parameters.
ASH-translation-control bit and
ASH-first-table origin, both of
reside in control register 14.
register
Control Register 14
the
the
which
The
ASN-Translation Control
control register 14 1S the
provides a mechanism whereby the control
program can indicate whether
lation can occur while a particular
program is being executed. Bit 12 must
be one to allow completion of these
instructions:
SET
ing
is recognized. The ASN-translation
control bit is examined in both the
problem and the supervisor states.
Chapter