6.2 Arithmetic Operation Instructions
6.2.3 16-bit BIN data multiplication and division
6-27
6
BA
S
IC
INSTRUCTIONS
*,
/
*, /
6.2.3
16-bit BIN data multiplication and division
*, /
F
unct
i
on
*(P)
(1) Multiplies 16-bit BIN data specified for
and 16-bit BIN data specified for
, and stores
the result to the variable specified for
.
(2) Values can be specified between 32768 and 32767 (BIN 16 bits) for
and
.
(3) Judgments whether
,
, and
are positive or negative are made on the basis of the
most significant bit (b15 for
and
, and b31 for
).
• 0: Positive
• 1: Negative
*(P)
/(P)
P: Executing condition
:
indicates any of the following
instructions.
*
*P
/
/P
Input argument,
EN:
Executing condition
: Bit
s1:
Multiplicand or dividend data, or start number of the device
that stores multiplicand or dividend data
: ANY16
s2:
Multiplier or divisor data, or start number of the device that
stores multiplier or divisor data
: ANY16
Output argument,
ENO:
Execution result
: Bit
d:
Operation result
: Array of ANY16/32 (0..1)
Setting
data
Internal device
R ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
−
−
−
−
U
n
i
versa
l
UD
Hi
g
h
Per
f
ormance
ST
*
EN
ENO
s
1
d
s
2
Structured ladder
Not su
pp
orted
s
1
s
2
d
s
1
s
2
d
b
0
12
3
4
(B
IN
)
b15
b
0
56
78
(B
IN
)
b15
b
0
b16 b15
700
6652
(B
IN
)
b
3
1
s
1
s
2
d
s
1
s
2
s
1
s
2
d
s
1
s
2
d
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......