D-58
API
Mnemonic
Operands
Function
12 MOV P
S,
D
Move
Type
OP
Bit Devices
Word devices
Program Steps
X
Y
M K
H KnX KnY KnM T C D MOV, MOVP: 5 steps
S
*
*
*
*
*
*
*
*
D
*
*
*
*
*
Operands:
S: Source of data D: Destination of data
Explanations:
1.
See the specifications of each model for their range of use.
2.
When this instruction is executed, the content of S will be moved directly to D. When this
instruction is not executed, the content of D remains unchanged.
Program Example:
MOV instruction has to be adopted in the moving of 16-bit data.
1.
When X0 = Off, the content in D10 will remain unchanged. If X0 = On, the value K10 will
be moved to D10 data register.
2.
When X1 = Off, the content in D10 will remain unchanged. If X1 = On, the present value
T0 will be moved to D10 data register.
X0
K10
MOV
D0
X1
T0
MOV
D10
API
Mnemonic
Operands
Function
15
BMOV
P
S, D, n
Block Move
Type
OP
Bit Devices
Word devices
Program Steps
X
Y
M K
H KnX KnY KnM T C D BMOV, BMOVP: 7 steps
S
*
*
*
*
*
*
D
*
*
*
*
*
n
*
* *
*
*
Operands:
S: Start of source devices D: Start of destination devices n: Number of data to be moved
Explanations: