Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
9 Applied Instructions (Arithmetic and Logical Operation)
167
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
1
O
utlin
e
2
Instruc
tion Li
st
3
Configurati
on of 
Instruction
4
Ho
w t
o R
ea
Explanati
on of 
Ins
truction
s
5
B
asic
 Instruction
6
Step Ladder 
Instruct
ions
7
Ap
pl
ied Inst
ruct
io
ns 
(Program Flow)
8
Appl
ied
 In
stru
cti
ons 
(Mov
e and 
C
omp
are)
9
App
lie
d Instr
uction
(Ari
thm
eti
c and
 
Lo
gic
al O
per
at
ion)
10
App
lied Inst
ructi
ons 
(Rot
ati
on and 
Shift O
perati
on)
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.1
DADD
DADDP
SUBP
Subtraction
Section 9.2
DSUB
DSUBP
MULP
Multiplication
Section 9.3
DMUL
DMULP
DIVP
Division
Section 9.4
DDIV
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