194
*, *P, /, /P
: Data to be multiplied/divided or head number of the devices where the data to be multiplied/divided is stored (BIN 16 bits)
:
Data for multiplying/dividing or head number of the devices where the data for multiplying/dividing is stored (BIN 16 bits)
:
Head number of the devices where the multiplication/division operation result will be stored (BIN 32 bits)
Function
*
(1) Multiplies BIN 16-bit data designated by and BIN 16-bit data designated by , and stores the result in the device
designated by .
(2) If is a bit device, designation is made from the lower bits.
K1..........Lower 4 bits (b0 to b3)
K4..........Lower 16 bits (b0 to b15)
K8..........32 bits (b0 to b31)
(3) Values for and can be designated between -32768 and 32767 (BIN, 16 bits).
(4) Judgments whether , , and are positive or negative are made on the basis of the most significant bit (b15 for ,
and , for and b31).
• 0: Positive
• 1: Negative
6.2.3 *, *P, /, /P BIN 16-bit multipl ication and division opera tions
6.2.3
*, *P, /, /P
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
––
––
–– ––
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
P
S1
S2
D
S1
S2
D
*, /
, /
*P, / P
indicates an instruction symbol of * .
S1
S2
D
S1
S2
D
S1
S2
D
b0
1234 (BIN)
b15b0
5678 (BIN)
b15 b0
b16 b15
7006652 (BIN)
b31
S1
S2
D
D
D
Example
S1
S2
S1
S2
D
S1
S2
D