AH500 Programming Manual S 1 +3 S S 1 +2 S S S 1 S 1 +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 subtraction of 32-bit single-precision floating-point numbers: When X0.0 is ON, the subtrAH500end in (D21, D20) is subtracted from the minuend in (D21, D20), and the difference is stored in (D31, D30). The subtraction of 64-bit double-precision floating-point numbers: When X0.0 is ON, the subtrAH500end in (D23, D22, D21, D20) is subtracted from the minuend in (D13, D12, D11, D10), and the difference is stored in (D33, D32, D31, D30).
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. Additional remark: 6-48