11.25 UNIF (Combining of Mantissa and Exponent, and Conversion of Single-
precision or Double-precision Real Number)
11.25 UNIF (Combining of Mantissa and Exponent, and Conversion of
Single-precision or Double-precision Real Number)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
bit
n unit
i
■
List of operands
Operand
Description
Starting address of the device where mantissa is stored (data format: according to the operation
unit)
S1
Range (common to SF and DF): 0.5 or more, and less than 1.0 as absolute value)
Starting address of the device where exponent is stored (data format: signed 32-bit integer)
S2
Range (for SF): -126 to 127
Range (for DF): -1022 to 1023
Starting address of the device where combined data is stored (data format: according to the
D
operation unit)
■
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
S1
●
●
S2
●
●
D
●
●
(Note 1)
Only 16-bit devices, and 32-bit devices can be modified (real number constants cannot be specified).
(Note 2)
Index register (I0 to IE)
■
Outline of operation
● This instruction combines the data of mantissa and exponent stored in the areas starting with
[S1] and [S2] according to the operation unit [i].
11-52
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
●
●
●
●
SS
UL
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
●
●
●
●
●
●
●
●
●
●
●
●
●
●
SL
SF
●
Real
Integer
numbe
r
IX
(N
D
K
H
SF
U
F
ote
2)
●
●
●
WUME-FP7CPUPGR-12
DF
●
St
rin
g
Index
modifie
r
(Note 1)
" "
●
●
●