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