9 Applied Instructions (Arithmetic and Logical Operation)
167
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)
9. Applied Instructions (Arithmetic and Logical Operation)
This chapter introduces the instructions for arithmetic operations and logical operations of numeric data.
Instruction name Function Reference
ADDP
Addition Section 9.1DADD
DADDP
SUBP
Subtraction Section 9.2DSUB
DSUBP
MULP
Multiplication Section 9.3DMUL
DMULP
DIVP
Division Section 9.4DDIV
DDIVP
INC
Increment Section 9.5
INCP
DINC
DINCP
DEC
Decrement Section 9.6
DECP
DDEC
DDECP
WAND
Logical Word AND Section 9.7
WANDP
DAND
DANDP
WOR
Logical Word OR Section 9.8
WORP
DOR
DORP
WXOR
Logical Exclusive OR Section 9.9
WXORP
DXOR
DXORP
NEG
Negation Section 9.10
NEGP
DNEG
DNEGP