Omron CP1E-NA@@D@-@ Computer Hardware User Manual


 
2 Instructions
2-108
CP1E CPU Unit Instructions Reference Manual(W483)
Data Movement Instructions
MOV/MOVL/MVN
Applicable Program Areas
Operands
Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
MOVE MOV
@MOV, !MOV,
!@MOV
021 Transfers a word of data to the specified word.
DOUBLE MOVE MOVL @MOVL 498 Transfers two words of data to the specified words.
MOVE NOT MVN @MVN 022
Transfers the complement of a word of data to the
specified word.
Symbol
MOV MOVL
MVN
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description
Data type Size
MOV / MVN MOVL MOV / MVN MOVL
S
MOV / MVN: Source
MOVL: First source word
WORD DWORD 1 2
D
MOV / MVN: Destination
MOVL: First destination word
WORD DWORD 1 2
Area
Word addresses Indirect DM addresses
Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
S
OK OK OK OK OK OK OK OK OK
OK
--- --- ---
D ---
Name Label Operation
Error Flag P_ER OFF
Equal Flag P_EQ ON if the data being transferred (D) is 0.
OFF in all other cases.
Negative Flag P_N ON if the leftmost bit of the data being transferred (D) is 1.
OFF in all other cases.
MOV(021)
S
D
S: Source
D: Destination
MOVL(498)
S
D
S: First source word
D: First destination
word
MVN(022)
S
D
S: Source
D: Destination