2.4 Basic instructions
2.4.2 Arithmetic operation instructions
2-13
2
INSTRU
CTION
TABLES
2.4.2
Arithmetic operation instructions
Table 2.11 Arithmetic operation instructions
Category
Instruction name
Argument
Processing details
Executing
condition
Page
16-bit BIN
data addition
and
subtraction
+
, ,
•
+
-
, ,
•
−
32-bit BIN
data addition
and
subtraction
D+
, ,
• ( +1, )+( +1, ) ( +1, )
D-
, ,
• ( +1, )
−
( +1, ) ( +1, )
16-bit BIN
data
multiplication
and division
*
, ,
•
( +1,
)
/
, ,
•
/
Quotient , Remainder ( +1)
32-bit BIN
data
multiplication
and division
D*
, ,
• ( +1, ) ( +1, ) ( +3, +2,
+1, )
D/
, ,
• ( +1, )/( +1, ) Quotient
( +1,
), Remainder ( +3, +2)
4-digit BCD
data addition
and
subtraction
B+
, ,
•
+
B-
, ,
•
−
8-digit BCD
data addition
and
subtraction
DB+
, ,
• ( +1, )+( +1, ) ( +1, )
DB-
, ,
• ( +1, )
−
( +1, ) ( +1, )
4-digit BCD
data
multiplication
and division
B*
, ,
•
( +1,
)
B/
, ,
•
/
Quotient , Remainder ( +1)
8-digit BCD
data
multiplication
and division
DB*
, ,
• ( +1, ) ( +1, ) ( +3, +2,
+1, )
DB/
, ,
• ( +1, )/( +1, ) Quotient
( +1,
), Remainder ( +3, +2)
s
1
s
2
d
s
1
s
2
d
s
1
s
2
d
s
1
s
2
d
s
1
s
2
d
s
1
s
1
s
2
s
2
d
d
s
1
s
2
d
s
1
s
1
s
2
s
2
d
d
s
1
s
2
d
s
1
s
2
d
d
s
1
s
2
d
s
1
s
2
d
d
s
1
s
2
d
s
1
s
1
s
2
s
2
d
d
d
d
s
1
s
2
d
s
1
s
1
s
2
s
2
d
d
d
d
s
1
s
2
d
s
1
s
2
d
s
1
s
2
d
s
1
s
2
d
s
1
s
2
d
s
1
s
1
s
2
s
2
d
d
s
1
s
2
d
s
1
s
1
s
2
s
2
d
d
s
1
s
2
d
s
1
s
2
d
d
s
1
s
2
d
s
1
s
2
d
d
s
1
s
2
d
s
1
s
1
s
2
s
2
d
d
d
d
s
1
s
2
d
s
1
s
1
s
2
s
2
d
d
d
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: ......