Mitsubishi Electronics FX Home Theater Server User Manual


 
FX Series Programmable Controlers Applied Instructions 5
5-122
5.11.6 EAUB (FNC 121)
Operation:
The floatin
g
point value of S
2
is subtracted from the
floatin
g
point value of S
1
and the result stored in
destination device D.
Points to note:
All points of the EADD instruction appl
y
, except that a subtraction is performed.
See pa
g
e 5-122.
5.11.7 EMUL (FNC 122)
Operation:
The floatin
g
point value of S
1
is multiplied with the
floatin
g
point value of S
2
. The result of the
multiplication is stored at D as a floatin
g
point
value.
Points to note:
Point a, b, c and d of the EADD instruction appl
y
, except that a multiplication is performed.
See pa
g
e 5-122.
Mnemonic Function
Operands
Program steps
S
1
S
2
D
ESUB
FNC 121
(Floatin
g
Point
Sub-traction)
Subtracts one
floatin
g
point
number from
another
K, H - inte
g
er value automati-
call
y
converted to floatin
g
point
D - must be in floatin
g
point
number format (32 bits).
D - a floatin
g
point value
(32 bits).
DESUB,
DESUBP:
13 steps
Mnemonic Function
Operands
Program steps
S
1
S
2
D
EMUL
FNC 122
(Floatin
g
Point Mul-
tiplication)
Multiplies two
floatin
g
point
numbers to
g
ether
K, H - inte
g
er value automati-
call
y
converted to floatin
g
point
D - must be in floatin
g
point
format (32 bits).
D - a floatin
g
point value
(32 bits).
DEMUL,
DEMULP:
13 steps
DESUB
X17
D120
K79124
D128
DEMUL
M12
D108
K1000 D130