Bin 32-Bit Multiplication, Division (D*, D*P, D/, D/P) - Mitsubishi MELSEC-A Series Programming Manual

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

6. BASIC INSTRUCTIONS
6.2.4 BIN 32-bit multiplication, division
(D*, D*P, D/, D/P)
Bit device
X
Y
M
(S1)
O
O
O
(S2)
O
O
O
(D)
O
O
Multiplication/division commands
Functions
Available Device
L
S
B
F
T
C
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
P
D*
(1) Performs the multiplication of BIN data specified at (S1) and the BIN data
speci-fied at (S2), and stores the multiplication result into the device specified at
(D).
(2) When (D) is a bit device, up to the lower 32 bits can be specified and the upper
32 bits cannot be specified.
Example
K1: Lower 4 bits (b0 to 3)
K4: Lower 16 bits (b0 to 15)
K8: 32 bits (b0 to 31)
When the upper 32-bit data of multiplication result is required for the bit device,
store the data to the word device and then transfer the data ((D)+2) and ((D)+3)
of word device to the specified bit device.
Applicable
CPU
Word (16-bit) device
D
W
R
A0
A1
Z
O
O
O
O
O
O
O
O
O
O
O
O
O
(S1)
(S2)
(D)
(S1)
(D)
(S2)
6 − 19
All CPUs
Constant Pointer
Level
V
K
H
P
I
N
O
O
K1
O
O
K8
Indicates the instruction symbol.
D*, D/
Setting data
Multiplicand/dividend or
(S1)
head device number
storing multiplier/dividend
Multiplicand/divider or
(S2)
head device number
storing multiplier/divider
Head device number
(D)
which will store the
result
MELSEC-A
M9012 (M9010, M9011)
to
O
O

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents