DL205 User Manual, 4th Edition, Rev. B
5–68
Chapter 5: Standard RLL Instructions - Accumulator/Stack Load and Output Data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Out Indexed (OUTX)
The Out Indexed instruction is a 16-bit instruction. It
copies a 16-bit or 4-digit value from the first level of the
accumulator stack to a source address offset by the value in
the accumulator(V- offset).This instruction
interprets the offset value as a HEX number. The upper 16
bits of the accumulator are set to zero.
In the following example, when X1 is on, the constant value 3544 is loaded into the
accumulator. This is the value that will be output to the specified offset V-memory location
(V1525). The value 3544 will be placed onto the stack when the Load Address instruction is
executed. Remember, two consecutive Load instructions places the value of the first load
instruction onto the stack. The Load Address instruction converts octal 25 to HEX 15 and
places the value in the accumulator. The Out Indexed instruction outputs the value 3544
which resides in the first level of the accumulator stack to V1525.
2 5
X1
OUTX
0 0 0 0
3 5 4 4
Constant
3 5 4 4
Acc.
3 5 4 4
0 0 0 0
0 0 1 5
The unused accumulator
bits are set to zero.
0 0 0 0 3 5 4 4
Level 1
X X X X X X X X
Level 2
X X X X X X X X
Level 3
X X X X X X X X
Level 4
X X X X X X X X
Level 5
X X X X X X X X
Level 6
X X X X X X X X
Level 7
X X X X X X X X
Level 8
0 0 1 5
2 5
V 1 5 2 5
1 5 0 0
V
+
=
The unused accumulator
bits are set to zero.
Acc.
Octal
HEX
Octal
Octal
Octal
The hex 15 converts
to 25 octal, which is
added to the base
address of V1500 to yield
the final destination.
V1525
LD
LDA
K3544
O25
V1500
Load the accumulator with
the value 3544.
Load the HEX equivalent to
octal 25 into the lower 16 bits
of the accumulato r. This is the
offset for the Out Indexed
instruction, which determines
the final destinaltion address.
Copy the value in the first
level of the stack to the
offset address V1525
(V1500+25).
Accumulator Stack
Handheld Programmer Keystrokes
STR
$
SHFT
ANDST
L
3
D
SHFT
1
B
ENT
ENT
2
C
0
A
ENT
1
B
5
F
0
A
0
A
PREV
ANDST
L
3
D
ENT
5
F
3
D
5
F
4
E
4
E
OUT
GX
SHFT
SET
X
Direct
SOFT
ý
ý
þ
þ
230
240
2
5
0
-1
2
6
0
aaa
A
O
U
T
X
Operand Data Type
DL250-1 Range
DL260 Range
A
aaa
aaa
V-memory V
All. See
memory map
All. See
memory map
Pointer P
All V-memory.
See memory map
All V-memory.
See memory map
DS
Used
HPP Used