Chapter 7 Second Development Platform VP3000
302
API Instruction code Operand Function
12 D MOV P S, D Move
Type
Operand
Bit devices Word devices
16-bit instruction (5 steps)
MOV
ontinuous
execution
type
MOVP
Pulse
execution
type
32-bit instruction (9 steps)
DMOV
ontinuous
execution
type
DMOVP
Pulse
execution
type
Associated flag: none
X Y M K H KnX KnY KnM T C D
S
D
Caution for using operand: none
Description
S: source of data
D: destination of data
When this instruction is executed, the content of S is moved directly to D. When this
instruction is not executed, the content of D remains unchanged.
Example
When X0 = OFF, the content in D10 remains unchanged. If X0 = ON, the value K10 is moved
to D10 data register.
When X1 = OFF, the content in D10 remains unchanged. If X1 = ON, the current value T0 is
moved to D10 data register.
X0
K10MOV D0
X1
T0MOV D10