Supervisor or Problem State: In the problem state,
all110 instructions and a group of control instructions
are invalid. In the supervisor state, all instructions
are valid. The choice of problem or supervisor state is
determined by bit 15 of the psw.
Protection feature
TheProtection Feature protects the contents of cer
tain areas of storage from destruction due to errone
ous storing of information during the execution of a
program. This protection is achieved by identifying
blocks of storage with a storage key and comparing
this key with a protection key supplied with the data
to be stored. The detection of a mismatch results in
a protection interruption.
For protection purposes, main storage is divided in
to blocks of2,048 bytes. A four-bit storage key is as
sociated with each block. When data are stored in a
storage block, the storage key is compared with the
protection key. When storing is specified by an in
struction, the protection key of the current psw is
used as the comparand. When storing is specified by
a channel operation, a protection key supplied by the
channeliis used as the comparand. The keys are said
to match when they are equal or when either one is
zero.
The storage key is not part of addressable storage.
The key is changed bySET STORAGE KEY and is in
spected byINSERT STORAGE KEY. The protection key in
the psw occupies bits 8-11 of that control word. The
protection key of a channel is recorded in bits0-3 of
the csw, which is stored as a result of the channel
operation. When a protection mismatch due to an in
struction is detected, the execution of this instruction
is suppressed or terminated, and the program execu
tion is altered by an interruption. The protected stor
age location always remains unchanged.Protection mismatch due to an 110 operation causes the data
transmission to be terminated in such a way that the
protected storage location remains unchanged. The
mismatch is indicated in the csw stored as a result of
the operation.
Timer f'eature
The timer is provided as an interval timer and may
be programmed to maintain the time of day. The
timer consists of a full word in main storage location80. The timer word is counted down at a rate of 50 or 60 cycles per second, depending on line frequency.
The timer word is treated as a signed integer follow
ing the rules of fixed-point arithmetic. An external in
terruption condition is signaled when the value of the
18
timer word goes from positive to negative. The full
cycle time of the timer is 15.5 hours.
An updated timer value is available at the end of
each instruction execution but is not updated in the
stopped state. The timer is changed by addressing
storage location80. As an interval timer, the timer is
used to measure elapsed time over relatively short in
tervals. It can be set to any value at any time.
Direct Control feature
The direct control feature provides two instructions,
READ DIRECT and WRITE DIRECT, and six external inter
ruption lines. The read and write instructions provide
for the transfer of a single byte of information be
tween an external device and the main storage of the
system. It is usually most desirable to use the data
channels of the system to handle the transfer of any
volume of information and u.se the direct data control
feature to pass controlling and synchronizing informa
tion between theCPU and special external devices.
Each of the six external signal lines, when pulsed,
sets up the conditions for an external interruption.
Multisystem feature
The design ofSystem/360 permits communication be
tween individual cpu's at several transmission rates.
The communication is possible through shared con
trol units, through a channel connector and through
shared storage. These features are further augmented
by the direct control feature and the multisystem
feature. The direct control feature, described in
the previous section, can be used to signal from oneCPU to another. The multisystem feature provides di
rect address relocation, malfunction indications, and
electronicCPU initialization.
The relocation procedure applies to the first4,096 bytes of storage. This area contains all permanent
storage assignments and, generally, has special signifi
cance to supervisory programs. The relocation is ac
complishcd by inserting a 12-bit prefix in each address
which has the high-order 12 bits set to zero and hence,
pertains to location0-4095. Two manually set prefixes
are available to permit the use of an alternative area
when storage malfunction occurs. The choice between
the prefixes is determined by a prefix trigger set dur
ing initial program loading.
To alert oneCPU to the possible malfunction of an
otherCPU, a machine check-out signal is provided,
which can serve as an external interruption to anothercpu. Finally, the feature includes provision for initial
program loading initiated by a signal from anotherCPU.
all
are invalid. In the supervisor state, all instructions
are valid. The choice of problem or supervisor state is
determined by bit 15 of the psw.
Protection feature
The
tain areas of storage from destruction due to errone
ous storing of information during the execution of a
program. This protection is achieved by identifying
blocks of storage with a storage key and comparing
this key with a protection key supplied with the data
to be stored. The detection of a mismatch results in
a protection interruption.
For protection purposes, main storage is divided in
to blocks of
sociated with each block. When data are stored in a
storage block, the storage key is compared with the
protection key. When storing is specified by an in
struction, the protection key of the current psw is
used as the comparand. When storing is specified by
a channel operation, a protection key supplied by the
channel
to match when they are equal or when either one is
zero.
The storage key is not part of addressable storage.
The key is changed by
spected by
the psw occupies bits 8-11 of that control word. The
protection key of a channel is recorded in bits
the csw, which is stored as a result of the channel
operation. When a protection mismatch due to an in
struction is detected, the execution of this instruction
is suppressed or terminated, and the program execu
tion is altered by an interruption. The protected stor
age location always remains unchanged.
transmission to be terminated in such a way that the
protected storage location remains unchanged. The
mismatch is indicated in the csw stored as a result of
the operation.
Timer f'eature
The timer is provided as an interval timer and may
be programmed to maintain the time of day. The
timer consists of a full word in main storage location
The timer word is treated as a signed integer follow
ing the rules of fixed-point arithmetic. An external in
terruption condition is signaled when the value of the
18
timer word goes from positive to negative. The full
cycle time of the timer is 15.5 hours.
An updated timer value is available at the end of
each instruction execution but is not updated in the
stopped state. The timer is changed by addressing
storage location
used to measure elapsed time over relatively short in
tervals. It can be set to any value at any time.
Direct Control feature
The direct control feature provides two instructions,
READ DIRECT and WRITE DIRECT, and six external inter
ruption lines. The read and write instructions provide
for the transfer of a single byte of information be
tween an external device and the main storage of the
system. It is usually most desirable to use the data
channels of the system to handle the transfer of any
volume of information and u.se the direct data control
feature to pass controlling and synchronizing informa
tion between the
Each of the six external signal lines, when pulsed,
sets up the conditions for an external interruption.
Multisystem feature
The design of
tween individual cpu's at several transmission rates.
The communication is possible through shared con
trol units, through a channel connector and through
shared storage. These features are further augmented
by the direct control feature and the multisystem
feature. The direct control feature, described in
the previous section, can be used to signal from one
rect address relocation, malfunction indications, and
electronic
The relocation procedure applies to the first
storage assignments and, generally, has special signifi
cance to supervisory programs. The relocation is ac
complishcd by inserting a 12-bit prefix in each address
which has the high-order 12 bits set to zero and hence,
pertains to location
are available to permit the use of an alternative area
when storage malfunction occurs. The choice between
the prefixes is determined by a prefix trigger set dur
ing initial program loading.
To alert one
other
which can serve as an external interruption to another
program loading initiated by a signal from another