32.22.5.4 Explanation of the R2I/R2IP Instructions
The R2I/R2IP instructions convert real variables to integer
variables. Specify the real variable or constant in S1 that you
want to convert, and specify integer variable for the conversion
output in D1. You can specify only a real variable for input in S1
and an integer variable for output in D1. Use the convert
instruction when you want to use different variable types in a
calculation or comparison.
Refer to the following for specifying a constant.
When operand S1 is a real constant
Note that specified arrays (entire arrays) cannot be
converted.
When operands S1 and D1 specify the entire array, an error will
occur even if the specified variables are the same type.
|