Chapter 6 Applied Instructions Exponent Real number Decimal floating-point number Mathematical form [D0] 10 X [D1] Binary floating-point number Real number: 23 bits; Exponent: 8 bits; sign: 1 bit Example 2 1. Before the floating-point operation is performed, use the FLT instruction to convert the binary integer into a single-precision floating-point number. Make sure the value to be converted is a binary integer before conversion. You can use the FBIN instruction to convert the floating-point number into the single-precision floating-point number. 2.
When M0 is ON, K314 and K-2 are moved to D0 and D1 respectively, and then FBIN combines them into the decimal floating-point number (3.14=314Ч10 -2 ). 6_ Additional remarks decimal floating-point number in S is not between -41 to +35, the instruction is not executed, SM0 is ON, and the error If the real number part of the decimal floating-point number in S is not between -9,999 to +9,999, or if the exponent of the code in SR0 is 16#2013. 6-103 D 1 D 0 D 3 D 2