Ch a pt er 6 A pp l i e d I n s tr uc t io ns
Example
Subtracting 32-bit single-precision floating-point numbers: when X0.0 is ON, the instruction subtracts the subtrahend in
(D21, D20) from the minuend in (D21, D20), and stores the difference in (D31, D30).
Additional remarks
If the value in S
or the value in S
exceeds the range of values that can be represented by the floating-point numbers,
1
2
the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2013.
6_
6 - 5 9