underflow mask bit is one, the operation is complet
ed by making the characteristic 128 larger than the
correct value. The result is normalized, and the sign
and fraction remain correct. A program interruption
for exponent underflow then takes place. When ex
ponent underflow occurs and the exponent
underflow mask bit is zero, a program interruption
does not take place; instead, the operation is com
pletedby making the result a true zero. For AXR,
exponent underflow is not recognized when the low
order characteristic is less than zero, but the high
order characteristic is zero or above.
A significance exception exists when the
intermediate-sum fraction, including the guard digit,
is zero. If the significance mask bit is one, the
intermediate-sum characteristic remains unchanged
and becomes the characteristic of the ,result. No nor
malization occurs, and a program interruption for
significance takes place. If the significance mask bit
is zero, the program interruption does not occur;
instead, the result is made a true zero.
The Rl field for AER, AE, ADR, andAD" and
the R2 field for AER and ADR must designate regis
ter 0,2,4, or 6. The Rl and R2 fields for AXR must
designate register0 or 4.
Otherwise, a specification
exception is recognized.
Resulting Condition Code:
o Result fraction is zero
1 Result is less than zero
2 Result is greater than zero
3 -
ProgramExceptions: Operation (if the floating-point feature is not
installed, or, for AXR, if the extendedpreeision floating-point feature is not installed)
Access (fetch, operand 2 of AE and AD only)Specification Exponent Overflow
Exponent Underflow
Significance
Programming Note
Interchanging the two operands in a floating-point
addition does not affect the value of the sum.
162System/370 Principles of Operation Add Unnormalized AUR Rl,R2
[RR, Short Operands]
o 8 12 15AU [RX, Short Operands]
7E
o 8 12 1620 AWR Rl,R2
[RR, Long Operands]
o 8 12 15
AW Rl,D2(X2,B2)
[RX, Long Operands]
6EI R, I x
2I 8
2 D20 8 12 16 20 The second operand is added to the first operand,
and the unnormalized sum is placed in the first
operand location.
31
31
The execution of ADDUNNORMALIZED is
identical to that of ADD NORMALIZED, except
that, after the addition, the intermediate-sum frac
tion is truncated to the proper result-fraction length
without performing normalization. Leading zeros are
not eliminated in the result fraction, exponent under
flow cannot occur, and the guard digit does not par
ticipate in the recognition of significance exception.
A significance exception is recognized when the
intermediate-sum fraction, not including the guard
digit, is zero.
The Rl and R2 fields must designate register0, 2,
4, or 6; otherwise, a specification exception is recog
nized.
Resulting Condition Code:
o Result fraction is zero
1 Result is less than zero
2 Result is greater than zero
3 -
ed by making the characteristic 128 larger than the
correct value. The result is normalized, and the sign
and fraction remain correct. A program interruption
for exponent underflow then takes place. When ex
ponent underflow occurs and the exponent
underflow mask bit is zero, a program interruption
does not take place; instead, the operation is com
pleted
exponent underflow is not recognized when the low
order characteristic is less than zero, but the high
order characteristic is zero or above.
A significance exception exists when the
intermediate-sum fraction, including the guard digit,
is zero. If the significance mask bit is one, the
intermediate-sum characteristic remains unchanged
and becomes the characteristic of the ,result. No nor
malization occurs, and a program interruption for
significance takes place. If the significance mask bit
is zero, the program interruption does not occur;
instead, the result is made a true zero.
The Rl field for AER, AE, ADR, and
the R2 field for AER and ADR must designate regis
ter 0,2,4, or 6. The Rl and R2 fields for AXR must
designate register
Otherwise, a specification
exception is recognized.
Resulting Condition Code:
o Result fraction is zero
1 Result is less than zero
2 Result is greater than zero
3 -
Program
installed, or, for AXR, if the extended
Access (fetch, operand 2 of AE and AD only)
Exponent Underflow
Significance
Programming Note
Interchanging the two operands in a floating-point
addition does not affect the value of the sum.
162
[RR, Short Operands]
o 8 12 15
7E
o 8 12 16
[RR, Long Operands]
o 8 12 15
AW Rl,D2(X2,B2)
[RX, Long Operands]
6E
2
2 D2
and the unnormalized sum is placed in the first
operand location.
31
31
The execution of ADD
identical to that of ADD NORMALIZED, except
that, after the addition, the intermediate-sum frac
tion is truncated to the proper result-fraction length
without performing normalization. Leading zeros are
not eliminated in the result fraction, exponent under
flow cannot occur, and the guard digit does not par
ticipate in the recognition of significance exception.
A significance exception is recognized when the
intermediate-sum fraction, not including the guard
digit, is zero.
The Rl and R2 fields must designate register
4, or 6; otherwise, a specification exception is recog
nized.
Resulting Condition Code:
o Result fraction is zero
1 Result is less than zero
2 Result is greater than zero
3 -