Chapter 5: Standard RLL Instructions - Accumulator/Stack Load and Output Data
Load (LD)
1
The Load instruction is a 16-bit instruction that loads the value
230
(Aaaa), which is either a V-memory location or a 4-digit
240
2
constant, into the lower 16 bits of the accumulator. The upper
250-1
16 bits of the accumulator are set to 0.
260
3
Operand Data
Type
4
A
V-memory
V
5
Pointer
P
Constant
K
6
Discrete Bit Flags
SP76
7
NOTE: Two consecutive Load instructions will place the value of the first load instruction onto the
8
accumulator stack.
In the following example, when X1 is on, the value in V2000 will be loaded into the
9
accumulator and output to V2010.
DS
Used
HPP Used
10
DirectSOFT
11
12
13
14
Handheld Programmer Keystrokes
A
$
STR
B
SHFT
C
2
C
GX
OUT
D
5–58
DL205 User Manual, 4th Edition, Rev. B
DL230 Range
aaa
All. See Memory map
All. See Memory map
–
0-FFFF
On when the value loaded into the accumulator by any instruction is zero.
X1
LD
V2000
Load the value in V2000 into
the lower 16 bits of the
accumulator
OUT
V2010
Copy the value in the lower
16 bits of the accumulator to
V2010
B
ENT
1
L
D
ANDST
3
A
A
A
0
0
0
V
C
SHFT
AND
DL240 Range
DL250-1 Range
aaa
All See Memory map
All V-memory
See Memory map
0-FFFF
Description
ENT
A
B
A
2
0
1
0
LD
DL260 Range
aaa
aaa
All See Memory map
All V-memory
See Memory map
See Memory map
0-FFFF
V2000
8
9
The unused accumulator
bits are set to zero
0
0
0
0
8
8
9
9
Acc.
8
9
V2010
ENT
A aaa
bbb
All V-memory
0-FFFF
3
5
3
3
5
5
3
5
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?