Chapter 5: Standard RLL Instructions - Accumulator/Stack Load and Output Data
Load Address (LDA)
The Load Address instruction is a 16-bit
230
instruction. It converts any octal value or address to
240
the HEX equivalent value and loads the HEX value
250-1
into the accumulator. This instruction is useful
260
when an address parameter is required since all
addresses for the DL205 system are in octal.
Operand Data
DL230 Range
Type
All V-memory
Octal Address O
See Memory map
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 octal number 40400 will be converted to a HEX
4100 and loaded into the accumulator using the Load Address instruction. The value in the
DS
Used
lower 16 bits of the accumulator is copied to V2000 using the Out instruction.
HPP Used
DirectSOFT
X1
Handheld Programmer Keystrokes
$
STR
L
SHFT
ANDST
E
A
4
GX
OUT
DL240 Range
aaa
aaa
All V-memory
See Memory map
On when the value loaded into the accumulator by any instruction is zero.
LDA
O 40400
Load The HEX equivalent to
the octal number into the
lower 16 bits of the
accumulator
OUT
V2000
Copy the value in lower 16
bits of the accumulator to
V2000
B
ENT
1
D
A
3
0
E
A
A
0
4
0
0
V
C
SHFT
AND
2
DL250-1 Range
aaa
All V-memory
See Memory map
Description
4
0
ENT
A
A
A
ENT
0
0
0
DL205 User Manual, 4th Edition, Rev. B
LDA
O aaa
DL260 Range
aaa
All V-memory
See Memory map
Octal
Hexadecimal
4
0
0
4
1
The unused accumulator
bits are set to zero
0
0
0
0
4
1
Acc.
4
1
V2000
1
2
3
4
5
6
7
8
9
10
11
0
0
12
0
0
13
0
0
14
A
B
C
D
5–61
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?