as follows:
storage
Intermediate sum
1 Guard digit
Fraction GOl
-43
-43
addition but
mali zed sum replaces the left half of
the result is less than zero.
The truncated result in
significant digit when compared to the
result of short-precision normalized
addition.
34 56 78 9A
The contents of the two registers are to
Machine Format
Assembler Format
The number with the smaller character
istic, which is in register
right-shifted 43 -35 hex (67 -53 deci
mal) or 14 digit positions, so that the
two characteristics agree. The shifted
number is 43
a guard digit of one.
the two numbers are compared, condition
code 1 is set, indicating that operand 1
in
operand with a characteristic of 34
instead of 35, so that
12 34 56 78 9A
right-shifted 15 positions, leaving all
fraction digits and the guard digit as
zeros.
cating equality. This example shows
that two floating-point numbers with
different characteristics or fractions
may compare equal if the numbers are
unnormalized or zero.
As another example of comparing unnor
mali zed floating-point numbers, 41
34 56 78 9A
numbers of the form 3F 12 34 56 78 9A
executed, the two rightmost digits are
shifted right two places, the
the guard digit, and the X does not
participate in the comparison.
However, when two normalized floating-
point numbers are compared,
compare equal is unique: each digit in
one number must be the same as the
corresponding digit in the other number.
DIVIDE
Assume that the first operand (the divi
dend) is in
(the divisor)
are in the short-precision format, the
resulting quotient is returned to
Machine Format
Assembler Format
DER
floating-point division, with the divi
dend in
result, which replaces the dividend, is
obtained in the following steps.
Appendix A. Number Representation and Instruction-Use Examples A-37