EasyManua.ls Logo

Mitsubishi MELSEC QCPU - Arithmetic Operation Instructions

Mitsubishi MELSEC QCPU
285 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2 - 14 2 - 14
MELSEC-Q/QnA
2 INSTRUCTION TABLES
2.4.2 Arithmetic operation instructions
Table 2.11 Arithmetic Operation Instructions
Category
Instruction
Symbols
Symbol Processing Details
Execution
Condition
Number of
Basic Steps
Subset
See for
Description
+
+ SD
+P
+P
SD
• (D)+(S) (D)
3 6-16
+
+ S1 S2 D
+P
+P S1 S2 D
• (S1)+(S2) (D)
4 6-18
-
SD
-P
P
SD
• (D) - (S)
(D)
3 6-16
-
S1
S2 D
BIN 16-bit
addition
and
subtraction
operations
-P
P S1 S2 D
• (S1) - (S2)
(D)
4 6-18
D+
D+ SD
D+P
D+P S
D
D+P S
D
• (D+1, D)+(S+1, S)
(D+1, D)
1 6-20
D+
D+
S1
S2 D
D+P
D+P
S1
S2 D
• (S1+1, S1)+(S2+1, S2) (D+1, D)
2 6-22
D-
D
DS
D-P
SDDP
• (D+1, D)-(S+1, S)
(D+1, D)
1 6-20
D-
D S1 S2 D
BIN 32-bit
addition
and
subtraction
operations
D-P
S1
S2 DDP
• (S1+1, S1)-(S2+1, S2) (D+1, D)
2 6-22
S1 S2 D
P
S1 S2 DP
• (S1) (S2) (D+1, D)
3 6-24
/
/
S1
S2 D
BIN 16-bit
multiplica-
tion and
division
operations
/P
/P S1 S2 D
• (S1)/(S2) Quotient(D), Remainder
(D+1)
4 6-24
D
D S1 S2 D
D P
S1 S2 DDP
• (S1+1, S1) (S2+1, S2) (D+3, D+2,
D+1, D)
4 6-26
D/
D/
S1
S2 D
BIN 32-bit
multiplica-
tion and
division
operations
D/P
D/P S1 S2 D
• (S1+1, S1)/(S2+1, S2)
Quotient (D+1,
D), Remainder (D+3, D+2)
4 6-26
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals