AH500 Programming Manual S 1 +3 S S 1 +2 S S 1 +1 S S 1 b63...b48 b47...b32 b31...b16 b15...b0 D+1 D D+3 D+2 / = b63...b48 b47...b32 b31...b16 b15...b0 S S 2 S 2 +3 S S 2 +2 S S 2 +1 b63...b48 b47...b32 b31...b16 b15...b0 Example: The division of 32-bit single-precision floating-point numbers: When X0.0 is ON, the dividend in (D1, D0) is divided by the divisor 100.7, and the quotient is stored in (D11, D10). The division of 64-bit double-precision floating-point numbers: When X0.0 is ON, the dividend in (D3, D2, D1, D0) is divided by the divisor in (D23, D22, D21, D20), and the quotient is stored in (D13, D12, D11, D10). Additional remark: 1.
If the divisor is 0, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2012. 2. If the value in S 1 or the value in S 2 exceeds the range of values which can be represented by the floating-point numbers, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2013. 6-52