Mitsubishi Electronics FX3G User Manual

Page of 964
244
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
9. Move and Compare – FNC 10 to FNC 19
FNC 10 to FNC 19 provide fundamental data processing instructions such as data transfer and data comparison which
are regarded as most important in applied instructions.
FNC No.
Mnemonic
Symbol
Function
Reference
10
CMP
Compare
Section 9.1
11
ZCP
Zone Compare
Section 9.2
12
MOV
Move
Section 9.3
13
SMOV
Shift Move
Section 9.4
14
CML
Complement
Section 9.5
15
BMOV
Block Move
Section 9.6
16
FMOV
Fill Move
Section 9.7
17
XCH
Exchange
Section 9.8
18
BCD
Conversion to Binary Coded Decimal
Section 9.9
19
BIN
Conversion to Binary
Section 9.10
CMP
S1 S2 D
ZCP
S2 S D
S1
D
S
MOV
SMOV S
D n
m1 m2
D
S
CML
n
BMOV S D
n
FMOV S D
D2
D1
XCH
D
S
BCD
D
S
BIN