Handling of Addresses PSW Bit
logical Instruction
5112 OAT Mode Addresses Addresses
-0 Off Real mode (Be mode) Real Real 0 1 Off Real mode Real Real
1 1On Primary-space mode Primary Primary Translation Modes without DAS PSW Bit
5112 1
16 OAT Mode
-0 - Off Real mode (BC mode) 0 1 - Off Real mode
1 10 On Primary-space mode
1 1 1On Secondary-space mode
Translation Modes withOAS Note: When the CPU is in the
secondary-space mode, it is unpredict
able whether instruction addressesare treated as primary virtual or secondary
virtual addresses. However, all copies
of an instruction used in a single
execution are fetched from a single
space, and the machinecan change the
interpretation of instruction addresses
as primary virtual or secondary virtual
only between instructions and only by
performing a checkpoint-synchronizing
function.Programming Notes
1. Predictable program is
ensured in the secondary-space mode
only when the instructions are
fetched from virtual-address
locations which translate to thesame real address by means of both
the primary and secondary segment
tables. Thus,a program should not
enter the secondary-space mode
unless the aforementioned condi
tions exist.
2.The requirement limiting when the CPU can change the address space
used for fetching instructions
eliminates problems withCPU retry, OAT pretesting, and trial execution
of instructions for the purposes of
determiningPER events.
virtual virtual
Handling of Addresses
logical Instruction
Addresses Addresses
Real RealReal Real Primary Primary virtual virtual
SecondarySee note
virtualControl Register Q When OAS is not installed, five bits are provided in control register 0 which are
usedIn controlling dynamic address
translation. When DAS is installed,a sixth bit is provided. The bits are
assigned as follows:101 TF
5 8 13
Secondary-SpaceControl (D): Bit 5 of
control register0 is the secondary
space-control bit. This bit is provided
as part ofOAS. When this bit is zero and execution of MOVE TO PRIMARY, MOVE TO SECONDARY, or SET ADDRESS SPACE CONTROL is attempted, a special
operation exception is recognized. When
this bit is one,it indicates that the
secondary segment table is attached when
theCPU is in the primary-space mode.
Translation Format eTF): Bits 8-12 of
control register0 are-called the trans
lation format, which controls the page
size and segmentsize. Some models do
not implement all four of the combina
tions, as shown in the following table.Chapter 3. Storage 3-23
logical Instruction
5
-
1 1
5
16
-
1 1
1 1 1
Translation Modes with
secondary-space mode, it is unpredict
able whether instruction addresses
virtual addresses. However, all copies
of an instruction used in a single
execution are fetched from a single
space, and the machine
interpretation of instruction addresses
as primary virtual or secondary virtual
only between instructions and only by
performing a checkpoint-synchronizing
function.
1. Predictable program
ensured in the secondary-space mode
only when the instructions are
fetched from virtual-address
locations which translate to the
the primary and secondary segment
tables. Thus,
enter the secondary-space mode
unless the aforementioned condi
tions exist.
2.
used for fetching instructions
eliminates problems with
of instructions for the purposes of
determining
virtual virtual
Handling of Addresses
logical Instruction
Addresses Addresses
Real Real
Secondary
virtual
used
translation. When DAS is installed,
assigned as follows:
5 8 13
Secondary-Space
control register
space-control bit. This bit is provided
as part of
operation exception is recognized. When
this bit is one,
secondary segment table is attached when
the
Translation Format eTF): Bits 8-12 of
control register
lation format, which controls the page
size and segment
not implement all four of the combina
tions, as shown in the following table.