6.5.5 Double integer to integer
Input/output Operand
Data type
IN
VD, ID, QD, MD, SD, SMD, LD, HC, AC, constant, *VD, *LD, *AC VW, IW, QW, MW, SW, SMW, LW, AQW, T, C, AC, *VD, *LD, *AC
Double integer
OUT
Integer Double integer to integer : D I - I instruction converts the
value of double integer to a integer value, and the result is
inserted into the variable specified by the OUT.
Large value will result in overflow and the output will not
be affected.
6.5.6 Double integer to real number
Input/output Operand
Data type
IN
VD, ID, QD, MD, SD, SMD, LD, HC, AC, constant, *VD, *AC, *LD
Double integer
OUT
VD, ID, QD, MD, SD, SMD, LD, AC, *VD, *LD, *AC
Real number
Double integer to real number : Instruction converts 32 bit
signed integer to 32 bit real number, and the result is
inserted into the variable specified by the OUT.
Example:
94
Made with FlippingBook - Online magazine maker