Functions that May Differ Among Models Instruction Execution
In the editing operations, overlapping fields give un
predictable results.
Equipment connected to the hold-in line of READ
DIRECT should be so constructed that the hold signal
will be removed when READ DIRECT is performed. Ex
cessive duration of this instruction may result in in
complete updating of the timer.
The purpose of the 12 field and the operand address
in theSI format of DIAGNOSE may be further defined
for a particularCPU and its appropriate diagnostic
procedures. Similarly the number of low-order address
bits that must be zero is further specified for a par
ticularCPU. When the address does not have the re
quired number of low-order zeros, a specification ex
ception is recognized and causes a program interrup
tion.
The diagnose operation is completed either by tak
ing the next sequential instruction or by obtaining a
new psw from location 112. The diagnostic procedure
may affect the problem, supervisor, and interruptable
states of theCPU, and the contents of storage registers
and timer, as well as the progress ofI/O operations. Instruction Termination Only one program interruption occurs for a given in struction. The old psw always identifies a valid cause.
This does not preclude simultaneous occurrence of
any other causes. Which of several causes is identified
may vary from one occasion to the next and from one
model to another.
When instruction execution is terminated by an in
terruption, all, part, or none of the result may be
stored. The result data, therefore, are unpredictable.
The setting of the condition code, if called for, may
also be unpredictable. In general, the results of the
operation should not be used for further computation.
Cases of instruction termination for a program in
terruption are:
Protection: The storage key of a result location doesnot match the protection key in the psw. The opera
tion is terminated in the case ofSTORE MULTIPLE, READ
DIRECT, and variable-length operations. Protected stor
age remains unchanged. The timing signals of READ
DIRECT may have been made available.
Addressing: An address specifies any part of data,
instruction, or control word outside the available stor
age for the particular installation. The operation is
terminated. Data in storage remain unchanged, except
when designated by valid addresses.
156
Data: The sign or digit codes of operands in deci
mal arithmetic,CONVERT TO BINARY, or editing opera
tions are incorrect, or fields in decimal arithmetic over
lap incorrectly, or the decimal multiplicand has too
many high-order significant digits. The operation is
terminated in all three cases. The condition code set
ting, if called for, is unpredictable for protection, ad
dressing, and data exceptions.
ExponentOverflow: The result exponent of an ADD, SUBTRACT, MULTIPLY, or DIVIDE overflows and the re
sult fraction is not zero. The operation is terminated.
The condition code is set to 3 for ADD andSUBTRACT, and remains unchanged for MULTIPLY and DIVIDE. Machine-Check Interruption For a machine-check interruption, the old psw is
stored at location 48 with a zero interruption code.
The state of theCPU is scanned out into the storage
area starting with location 128 and extending through
as many words as are required by the givenCPU. The
new psw is fetched from location 112. Proper execu
tion of these steps dependsOil the nature of the ma
chine check. A change in the machine-check mask bit
due to the loading of a new psw results in a change
in the treatment of machine checks. Depending upon
the nature of a machine check, the old treatment may
still be in force for several cycles. Machine checks that
occur in operations executed byI/O channels may
either cause a machine-check interruption or are re
corded in the csw for that operation.
Instruction-LengthCode The instruction-length code is predictable only for
program and supervisor-call interruptions. ForI/O and
external interruptions, the interruption is not caused
by the last interpreted instruction, and the code is not
predictable for these classes of interruptions. For ma
chine-check interruptions, the setting of the code is a
function of the malfunction and therefore unpredict
able.
For the supervisor-call interruption the instruction
length code is 1, indicating the halfword length ofSUPERVISOR CALL; for the program interruptions, the
codes 1, 2, and 3 indicate the instruction length in
halfwords. The code0 is reserved for program inter
ruptions where the length of the instruction is not
available because of certain overlap conditions in in
struction fetching. In those cases, the instruction ad
dress in theold psw does not represent the next in
struction address. The code 0 can
occur only for a program interruption caused by a
protected or unavailable data address.
In the editing operations, overlapping fields give un
predictable results.
Equipment connected to the hold-in line of READ
DIRECT should be so constructed that the hold signal
will be removed when READ DIRECT is performed. Ex
cessive duration of this instruction may result in in
complete updating of the timer.
The purpose of the 12 field and the operand address
in the
for a particular
procedures. Similarly the number of low-order address
bits that must be zero is further specified for a par
ticular
quired number of low-order zeros, a specification ex
ception is recognized and causes a program interrup
tion.
The diagnose operation is completed either by tak
ing the next sequential instruction or by obtaining a
new psw from location 112. The diagnostic procedure
may affect the problem, supervisor, and interruptable
states of the
and timer, as well as the progress of
This does not preclude simultaneous occurrence of
any other causes. Which of several causes is identified
may vary from one occasion to the next and from one
model to another.
When instruction execution is terminated by an in
terruption, all, part, or none of the result may be
stored. The result data, therefore, are unpredictable.
The setting of the condition code, if called for, may
also be unpredictable. In general, the results of the
operation should not be used for further computation.
Cases of instruction termination for a program in
terruption are:
Protection: The storage key of a result location does
tion is terminated in the case of
DIRECT, and variable-length operations. Protected stor
age remains unchanged. The timing signals of READ
DIRECT may have been made available.
Addressing: An address specifies any part of data,
instruction, or control word outside the available stor
age for the particular installation. The operation is
terminated. Data in storage remain unchanged, except
when designated by valid addresses.
156
Data: The sign or digit codes of operands in deci
mal arithmetic,
tions are incorrect, or fields in decimal arithmetic over
lap incorrectly, or the decimal multiplicand has too
many high-order significant digits. The operation is
terminated in all three cases. The condition code set
ting, if called for, is unpredictable for protection, ad
dressing, and data exceptions.
Exponent
sult fraction is not zero. The operation is terminated.
The condition code is set to 3 for ADD and
stored at location 48 with a zero interruption code.
The state of the
area starting with location 128 and extending through
as many words as are required by the given
new psw is fetched from location 112. Proper execu
tion of these steps depends
chine check. A change in the machine-check mask bit
due to the loading of a new psw results in a change
in the treatment of machine checks. Depending upon
the nature of a machine check, the old treatment may
still be in force for several cycles. Machine checks that
occur in operations executed by
either cause a machine-check interruption or are re
corded in the csw for that operation.
Instruction-Length
program and supervisor-call interruptions. For
external interruptions, the interruption is not caused
by the last interpreted instruction, and the code is not
predictable for these classes of interruptions. For ma
chine-check interruptions, the setting of the code is a
function of the malfunction and therefore unpredict
able.
For the supervisor-call interruption the instruction
length code is 1, indicating the halfword length of
codes 1, 2, and 3 indicate the instruction length in
halfwords. The code
ruptions where the length of the instruction is not
available because of certain overlap conditions in in
struction fetching. In those cases, the instruction ad
dress in the
struction address. The
occur only for a program interruption caused by a
protected or unavailable data address.