Chapter 6 Applied Instructions as follows. The value in D is 1 because the floating-point number in S 1 is a negative number. The value stored in ( D +2, D +1) is 16#3225550. (The floating-point number is converted into the seven-digit binary-coded decimal number, and the seven-digit binary-coded decimal number is rounded off). The value in D +3 is 1 because the exponent is a negative number. The value in D +4 is 4. If the floating-point number in S 1 is -1.32165E+2 and the value in S 2 is 3, the conversion result is as follows. (S1+1,S1) 1 D 16#1321650 D D +2 +1 S2 3 1 Number of places 1 D +3 D +4 -1.32165E+2 is equal to 132.165.
Since the value in S 2 is 3, the decimal point in the floating-point number in S 1 is moved to the right by three decimal places. The floating-point number in S 1 becomes -132165. -132165 is equal to -1321650E-1. The binary-coded decimal floating-point number format is as follows. The value in D is 1 because the floating-point number in S 1 is a negative number. The value stored in ( D +2, D +1) is 16#1321650. (The floating-point number is converted into the seven-digit binary-coded decimal number, and the seven-digit binary-coded decimal number is rounded off). The value in D +3 is 1 because the exponent is a negative number. The value in D +4 is 4. Example:
(D1,D0) 0 D10 D11 D4 16#1963850 D12 3 D14 Number of places 1 3 D13 Since the value in D4 is 3, the decimal point in 1.963852741 in (D1, D0) is moved to the right by three decimal places. The floating-point number in (D1, D0) becomes 1963.852741. The value in D10 is 0 because the floating-point number in S 1 is a positive number. 1963.852741 is equal to 1963852E-3. The binary-coded decimal floating-point number format is as follows. The value stored in (D12, D11) is 16#1963850. (The floating-point number is converted into the seven-digit binary-coded decimal number, and the seven-digit binary-coded decimal number is rounded off).
The value in D13 is 1 because the exponent is a negative number. The value in D14 is 3. 6-497 -1.32 165E+ 2 1.963 852741