
Chapter 5. Application instructions
5-1
5 Application Instructions
5.1
Data transfer instructions
5.1.1
MOV, MOVP, DMOV, DMOVP
MOV
(Move)
FUN(80) MOV
FUN(82) DMOV
FUN(81) MOVP
FUN(83) DMOCP
Applicable
CPU
All CPUs
Available Device
Flag
Instructions
M
P
K
L
F
T
C
S
D
#D Integer
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
O O O O* O O O
O
O
O
MOV(P)
DMOV(P)
O O O O
*
O
O
O
O
5/7
O
* Available only when do not use computer link module or data link module
1) Functions
-
MOV(P) : Transfer the 16-bits data of the device specified at [ S ] to the device specified at [ D ].
-
DMOV(P) : Transfer the 32-bits data of the device specified at [ S+1, S ] to the device specified at
[ D+1, D ].
Operand setting
D
S
MOV
MOVP
DMOV
DMOVP
S
D
S
D
The source device at which
the data to be transferred is
stored.
The device of transfer
destination
D
S
16 bits
D
S
0
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
1 1 0
1
0
1 1 0
1
16 bits
1
0
1
0
+ 1
D
S + 1
16 bits
1
0
0
1 1 0
1
1
0
0
1 1 0
1
D
S