Movd, Applicable program areas operands, 2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual
Page 149

2-113
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
D
a
ta Mo
vem
ent I
n
stru
ctio
ns
2
MO
VD
MOVD
Applicable Program Areas
Operands
S: Source Word
D: Destination Word
C: Control Word
Operand Specifications
Instruction
Mnemonic
Variations
Function
code
Function
MOVE DIGIT
MOVD
@MOVD
083
Transfers the specified digit or digits.
(Each digit is made up of 4 bits.)
Symbol
MOVB
Area
Step program areas
Subroutines
Interrupt tasks
Usage
OK
OK
OK
Operand
Description
Data type
Size
S
Source word or data
WORD
1
C
Control word
UINT
1
D
Destination word
UINT
1
The source digits are read from right to left,
wrapping back to the rightmost digit (digit 0) if
necessary.
The destination digits are written from right to
left, wrapping back to the rightmost digit (digit
0) if necessary.
Area
Word addresses
Indirect DM addresses
Constants
CF
Pulse bits
TR bits
CIO
WR
HR
AR
T
C
DM
@DM
*DM
S, C
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
---
---
---
D
---
MOVD(083)
S
C
D
S: Source word or data
C: Control word
D: Destination word
S
Digit 3
Digit 2
8
11
12
15
Digit 1
Digit 0
0
3
4
7
D
Digit 3
Digit 2
8
11
12
15
Digit 1
Digit 0
0
3
4
7
15
8
0
11
3
7
4
12
C
0
First digit in S (m): 0 to 3
Number of digits (n): 0 to 3
0: 1 digit
1: 2 digits
2: 3 digits
3: 4 digits
First digit in D ( ): 0 to 3
Always 0.
n
m