DL205 User Manual, 4th Edition, Rev. B
5–146
Chapter 5: Standard RLL Instructions - Table
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Copy Data From a Data Label Area to V-Memory
In the following example, data is copied from a Data Label Area to V-memory. When X1 is
on, the constant value (K4) is loaded into the accumulator using the Load instruction. This
value specifies the length of the table and is placed in the second stack location after the next
Load and Load Label (LDLBL) instructions are executed. The constant value (K0) is loaded
into the accumulator using the Load instruction. This value specifies the offset for the source
and destination data, and is placed in the first stack location after the LDLBL instruction is
executed. The source address where data is being copied from is loaded into the accumulator
using the LDLBL instruction. The MOVMC instruction specifies the destination starting
location and executes the copying of data from the Data Label Area to V-memory.
WARNING: The offset for this usage of the instruction starts at 0, but may be any number that does not
result in data outside of the source data area being copied into the destination table. When an offset is
outside of the source information boundaries, then unknown data values will be transferred into the
destination table.
S
ta
n
d
a
rd
R
L
L
In
s
tr
u
c
ti
o
n
s
1 2 3 4
C O N
4 5 3 2
C O N
6 1 5 1
C O N
8 8 4 5
C O N
K
N
K
N
K
N
K
N
Direct
S
O
FT
Handheld Programmer
K
eystrokes
LD
K4
X
1
Load the value
4
into the
accumulator specifying the
number of locations to be
copied.
LD
K
0
Load the value 0 into the
accumulator specifying the
offset for source and
destination locations
LDLBL
K1
Load the value
1
into the
accumulator specifying the
Data Label Area
K1
as the
starting address of the data
to be copied.
V
2
00
1
V
2
00
2
6 1 5 1
V
2
00
3
8 8 4 5
V
2
00
4
X X X X
V
1
777
V
2
000
1 2 3 4
Data Label Area
Programmed
After the E
N
D
Instruction
M
O
VM
C
V
2
000
V
2
000 is the destination
starting address for the data
to be copied.
DLBL
K1
STR
$
SHFT
A
N
DST
L
3
D
SHFT
JMP
K
E
N
T
SHFT
A
N
DST
L
3
D
A
N
DST
L
1
B
A
N
DST
L
SHFT
O
RST
M
A
N
D
V
I
N
ST#
O
O
RST
M
2
C
1
B
E
N
T
E
N
T
1
B
2
C
0
A
0
A
0
A
E
N
T
SHFT
A
N
DST
L
3
D
SHFT
JMP
K
0
A
E
N
T
4
E
X X X X
4 5 3 2
þ
þ
þ
þ
230
240
250-1
260
DS
Used
HPP Used