EasyManua.ls Logo

Vigor VS Series - Page 158

Vigor VS Series
484 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
152
D M U L P
S1
S2
D
FNC
22
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S1
S2
D
1
2
M
3
When X20 = “ON”, the multiplicand (D0) will be multiplied by the multiplier (D1), and the product will be stored at
the destination device (D3, D2).
When X20 = “OFF”“ON”, the instruction will multiply (D1, D0) by (D3, D2) and store the product in (D7, D6, D5,
D4).
Two 32-bit data sources multiplied together will create a 64-bit product.
The Most Significant Bit (MSB) of a 64-bit product indicates a positive or negative (“0” represents it is positive; “1”
negative).
When the product of an operation stores in the and it is equal to “0”, the Multiplication / Division Zero Flag
M9023 turns “ON”.
S1 : the multiplicand
S2 : the multiplier
D : the product (of a multiplication)
D0
D1
(D3, D2)
10
5
50
(D1, D0)
(D3, D2)
(D7, D6, D5, D4)
100,000
MUL D0 D1 D2
X20
S1
S2
D
DMULP D0 D2 D4
X20
S1 S2
D
D
D
10
1,000,000
Operand
Devices
Multiplication (S1)×(S2) (D+1,D)
Two 16-bit data sources multiplied together will produce a 32-bit product.
The Most Signicant Bit (MSB) of a 32-bit product indicates a positive or negative (“0” represents it is positive; “1”
negative).
When the product of an operation stores in the and it is equal to “0”, the Multiplication / Division Zero Flag
M9023 turns “ON”.

Table of Contents