6.2 Arithmetic Operation Instructions
6.2.8 8-digit BCD data multiplication and division
6-39
6
BA
S
IC
INSTRUCTIONS
DB*, DB/
DB*, DB/
6.2.8
8-digit BCD data multiplication and division
DB*, DB/
F
unct
i
on
DB*(P)
(1) Multiplies the 8-digit BCD data specified for
and the 8-digit BCD data specified for
,
and stores the product to the variable specified for
.
(2) Values can be specified between 0 and 99999999 (8-digit BCD) for
and
.
DB*(P)
DB/(P)
P: Executing condition
:
indicates any of the following
instructions.
DB*
DB*P
DB/
DB/P
Input argument,
EN:
Executing condition
: Bit
s1:
Multiplicand or dividend data
: ANY32
s2:
Multiplier or divisor data
: ANY32
Output argument,
ENO:
Execution result
: Bit
d:
Operation result
: Array of ANY16 (0..3), array of ANY32 (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
Structured ladder
ST
EN
ENO
s
1
d
s
2
DB
*
Not su
pp
orted
s
1
s
2
d
s
1
s
2
d
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
8
0
0
0
0
0
0
0
1
[
3
]
d
[
0
]
d
[1]
d
[2]
d
s
1
s
2
s
1
s
2
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: ......