340
Data Movement Instructions Section 3-8
Operands S: Source Word
The source digits are read from right to left, wrapping back to the rightmost
digit (digit 0) if necessary.
C: Control Word
The first three digits of C indicate the first source digit (m), the number of dig-
its to transfer (n), and the first destination digit (l), as shown in the following
diagram.
D: Destination Word
The destination digits are written from right to left, wrapping back to the right-
most digit (digit 0) if necessary.
Operand Specifications
15 8 011 37412
S
Digit 3 Digit 2 Digit 1 Digit 0
15 8 011 37 412
C
0
l
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 (l): 0 to 3
Always 0.
nm
15 8 011 37412
D
Digit 3 Digit 2 Digit 1 Digit 0
Area S C D
CIO Area CIO 0000 to CIO 6143
Work Area W000 to W511
Holding Bit Area H000 to H511
Auxiliary Bit Area A000 to A959 A448 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D00000 to D32767
EM Area without bank E00000 to E32767
EM Area with bank En_00000 to En_32767
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants #0000 to #FFFF
(binary)
Specified values
only
---
Data Registers DR0 to DR15