System Organization Contents
Main Storage. Information Formats
Addressing I nformation Positioning Integral Boundaries.
Byte-Oriented-Operand Feature Central ,Processing Unit. General Registers Floating-Point Registers Control Registers I nput and Output Channels. Input/Output Interface. Input/Output Devices and Control Units.
System Console .
Logically, Systerri/370 consists of main storage, a
central processing unit (CPU), selector and multi­
plexer channels, and input/output devices, usually
attached to channels through control units. The
physical identity of these functions may vary be­
tween models. It is possible for systems to communi­
cate with each other by means of shared I/O de­
vices, a channel, or shared storage. The accompany­
ing illustration depicts the logical structure for a
single-CPU system and for a two-CPU mUltiprocess­
ing system.
Main
Storage
CPU
Channel Chennel
IBM System/370 Logical Structures
Channel
Main Storage
13
14
14
15
15
15
15
16
16
16
17
17
17
18
18
Main storage provides the system with directly ad­
dressable fast-access storage of data. Both data and
programs must be loaded into main storage (from
input devices) before they can be processed.
Main storage may be either physically integrated
with a CPU or may be constructed as standalone
units. Additionally, main storage may be composed
of large-volume storage and a faster access buffer
storage, sometimes called a cache. Each CPU may
have an associated cache. The effects, except on
CPU
Channel
Main
Storage
CPU
Channel Channel System Organization 13
performance, of the physical construction and the
use of distinct storage media are not observable by
the program.
Fetching and storing of data by the CPU are not
affected by any concurrent 110 data transfer or by
concurrent reference to the same storage location by
another CPU. When concurrent requests to a main­
storage location occur, access normally is granted in
a sequence that assigns highest priority to references
by channels and that alternates priority between CPUs. If the first reference changes the contents of
the location, any subsequent storage fetches obtain
the new contents.
Main storage may be volatile or nonvolatile. If it
is volatile., the contents of main storage are not pre­
served when power is turned off. If it is nonvolatile,
turning power off or on does not affect the contents
of main storage, provided the CPU is in the stopped
state and no references are made to main storage by
channels when power is turned off. In both types of
main storage, the contents of the keys in storage
associated with protection are not necessarily pre­
served when the power for main storage is turned
off. Informcltion Formats
The system transmits information between main
storage and a CPU or channel in units of eight bits,
or a multiple of eight bits, at a time. Each eight-bit
unit of information is called a byte, the basic building
block of all formats.
The bits in a byte are numbered consecutively,
left to right, 0 through 7. Within any program format
or any fixed-length operand format of multiple
bytes, the bits making up the format are consecu­
tively numbered from left to right, starting with the
number O. Leftmost bits are sometimes referred to as
the "high-order" bits and rightmost bits as the "low­
order" bits.
For purposes of error detection, and in some
models for correction, one or more check bits are
transmitted with each byte or with a group of bytes.
The check bits are generated automatically by the
system and cannot be directly controlled by the pro­
gram. References in this manual to the size of data
fields and registers exclude mention of the associated
check bits. All storage capacities are expressed in
number of bytes provided, without regard to storage
width.
Bytes may be handled separately or grouped to­
gether in fields. A hal/word is a group of two con­
secutive bytes and is the basic building block of in­
structions .. A word is a group of four consecutive
bytes; a doubleword is a group of eight bytes. The
14 System/370 Principles of Operation
location of any field or group of bytes is specified by
the address of its leftmost byte.
The length of fields is either implied by the opera­
tion to be performed or stated explicitly as part of
the instruction. When the length is implied, the in­
formation is said to have a fixed length, which can
be either one, two, four, or eight bytes.
When the length of a field is not implied by the
operation code, but is stated explicitly, the informa­
tion is said to have variable field length. Variable­
length operands are variable in length by increments
of one byte.
When information is placed in main storage, the
contents of only those byte locations are replaced
that are included in the designated field, even though
the width of the physical path may be wider than the
field being stored.
Addressing
Byte locations in storage are consecutively num­
bered, left to right, starting with 0; each number is
considered the address of the corresponding byte. A
group of bytes in storage is addressed by the left­
most byte of the group. The number of bytes in the
group is either implied or explicitly defined by the
operation. The addressing arrangement uses a 24-bit
binary address to accommodate a maximum of
16,777,216 byte addresses.
Storage addressing wraps around from the maxi­
mum byte address, 16,777,215, to address o. In­
formation may be located partially in the last and
partially in the first location of storage and is proc­
essed without any special indication of crossing the
maximum address boundary.
For purposes of addressing main storage, three
types of addresses are recognized: absolute, real, and
logical.
Absolute addresses are the lowest level of
program-recognizable addresses, and in this manual
they are considered to be the addresses of actual
storage locations. On some models, storage­
configuration controls may be provided which permit
the operator to change the correspondence between
absolute addresses and the actual physical storage
locations. However, at anyone time, a physical stor­
age location is not associated with more than one
absolute address.
When the multiprocessing feature is included in a CPU, an address reassignment mechanism is provid­
ed that permits the first 4,096 bytes of real main
storage for each CPU to be assigned to different
absolute storage locations. This reassignment mecha­
nism is called "prefixing." Most addresses generated
in the CPU are monitored by the prefixing mecha­
nism and reassigned when necessary. Addresses sub-
Previous Page Next Page