MOV
MOV, MOVP, DMOV, DMOVP
MOV instruction copies the source to the Destination (assigned device address).
| |
S | Source |
D | Destination |
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. |
| Error | Zero | Carry | ||
MOV(P) | S | o | o | o | o | o | o | o | o | - | o | o | o | o | 3 | o | - | - |
D | o | - | o | o | o | - | o | o | - | o | o | o | - | |||||
DMOV(P) | S | o | o | o | o | o | o | o | o | - | o | o | o | o | 3 | |||
D | o | - | o | o | o | - | o | o | - | o | o | o | - |
The MOV(P) instruction copies 16 bit data and the DMOV(P) copies 32 bit data to the Destination.
Example)
If X01 is ON, the MOV instruction copies the data of M00 to the M10.