Chapter 5: Standard RLL Instructions - Table
Table Instructions
1
Move (MOV)
2
The Move instruction moves the values from a V-memory
230
table to another V-memory table the same length. The
function parameters are loaded into the first level of the
3
240
accumulator stack and the accumulator by two additional
250-1
instructions. Listed below are the steps necessary to program
260
4
the Move function.
Step 1: Load the number of V-memory locations to be moved into the first level of the accumulator
DS
Used
5
HPP Used
Step 2: Load the starting V-memory location for the locations to be moved into the accumulator.
6
Step 3: Insert the MOVE instruction which specifies starting V-memory location (Vaaa) for the
7
Helpful hint: — For parameters that require HEX values when referencing memory locations,
the LDA instruction can be used to convert an octal address to the HEX equivalent and load
8
the value into the accumulator.
Operand Data Type
9
V-memory
10
Pointer
In the following example, when X1 is on, the constant value (K6) is loaded into the
11
accumulator using the Load instruction. This value specifies the length of the table and is
placed in the first stack location after the Load Address instruction is executed. The octal
address 2000 (V2000), the starting location for the source table is loaded into the
12
accumulator. The destination table location (V2030) is specified in the Move instruction.
13
X1
14
A
B
Handheld Programmer Keystrokes
$
STR
C
SHFT
SHFT
D
SHFT
5–144
DL205 User Manual, 4th Edition, Rev. B
stack. This parameter is a HEX value (KFFF max, 7777 octal).
This parameter must be a HEX value.
destination table.
DL230 Range
aaa
V
All (See page 3 - 53)
P
All (See page 3 - 53)
LD
Load the constant value 6
(HEX) into the lower 16 bits
K6
of the accumulator
LDA
Convert octal 2000 to HEX
400 and load the value into
O 2000
the accumulator
Copy the specified table
MOV
locations to a table
V2030
beginning at location V2030
B
ENT
1
L
D
K
SHFT
ANDST
3
JMP
L
D
A
C
ANDST
3
0
2
M
O
V
C
ORST
INST#
AND
2
DL240 Range
DL250-1 Range
aaa
All (See page 3 - 54)
All (See page 3 - 55)
All (See page 3 - 54)
All (See page 3 - 55)
X
X
X
X
0
1
0
5
9
9
3
0
8
9
1
0
X
X
X
X
G
ENT
6
A
A
A
ENT
0
0
0
A
D
A
ENT
0
3
0
MOV
V aaa
DL260 Range
aaa
All (See page 3 - 56)
All (See page 3 - 56)
X
X
V1776
X
X
X
X
V1777
X
X
2
3
0
1
V2000
0
0
0
5
V2001
9
9
9
9
V2002
7
4
3
0
V2003
8
9
8
9
V2004
1
0
1
0
V2005
X
X
X
X
V2006
X
X
X
X
V2007
aaa
X
X
V2026
X
X
V2027
2
3
V2030
0
0
V2031
9
9
V2032
7
4
V2033
8
9
V2034
1
0
V2035
X
X
V2036
X
X
V2037
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?