170
Valid Ranges for Division Data and Quotient
Maximum value for division
data and quotient (same)
0.9999999
×
10
7
Minimum value for
division data
0.0000001
×
10
–7
Minimum value for
quotient
0.100000
×
10
–7
Contents of words
Dd+1, Dr+1, or R+1
Contents of words
Dd, Dr, or R
Contents of words
Dd +1 or Dr+1
Contents of words
Dd or Dr
Contents of word R+1
Contents of word R
7
9
9
9
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
MSB
LSB
9
9
9
9
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
MSB
LSB
F
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
MSB
LSB
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
MSB
LSB
F
1
0
0
1
1
1
1
0
0
0
1
0
0
0
0
0
0
0
0
MSB
LSB
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
MSB
LSB
The following example shows how to divide two whole four-digit numbers
(i.e., numbers without fractions) so that a floating-point value can be ob-
tained.
First the original numbers must be placed in floating-point form. Because the
numbers are originally without decimal points, the exponent will be 4 (e.g.,
3452 would equal 0.3452 x 10
4
). All of the moves are to place the proper
data into consecutive words for the final division, including the exponent and
zeros. Data movements for Dd and Dd+1 are shown at the right below.
Movements for Dr and Dr+1 are basically the same.The original values to be
divided are in DM 0000 and DM 0001. The final division is also shown.
Example
BCD Calculations
Section 5-17