9 Applied Instructions (Arithmetic and Logical Operation)
9.3 MULP / Multiplication
177
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied Instructions
(Program Flow)
8
Applied Instructions
(Move and
Compare)
9
Applied Instructions
(Arithmetic and
Logical Operation)
10
Applied Instructions
(Rotation and
Shift Operation)
Program examples
1. 16-bit operation
2. 32-bit operation
Function changes according to versions
Compatible versions
Item Function summary
FX3S FX3G FX3GC FX3U FX3UC
Ver. 1.00 or
later
Ver. 1.00 or
later
Ver. 1.40 or
later
Ver. 2.30 or
later
Ver. 2.30 or
later
Zero flag
Turns the special device M8304 ON when the operation
result of MUL instruction is 0.
(D 0) × (D 2) × (D 5, D 4)
8 9 72
X000
D0
D2
MULP
EN
s1
s2
ENO
d
D4
[Structured ladder/FBD]
[ ST ]
MULP(X000, D0, D2, D4);
(D 1,D 0) × (D 3,D 2) → (D 7,D 6,D 5,D 4)
1,756 327 574,212
X001
D4D0
DMUL
EN
s1
s2
ENO
d
D2
[Structured ladder/FBD]
[ ST ]
DMUL(X001, D0, D2, D4);