Chapter 5: Standard RLL Instructions - Accumulator/Stack Load and Output Data
Out Least (OUTL)
The Out Least instruction copies the value in the lower eight
bits of the accumulator to the lower eight bits of the specified
230
V-memory location (i.e., it copies the low byte of the low word
240
of the accumulator).
250-1
In the following example, when X1 is on, the value in V1400 will be loaded into the lower 16
260
bits of the accumulator using the Load instruction. The value in the lower 8 bits of the
accumulator are copied to V1500 using the Out Least instruction.
DS
Used
Operand Data Type
HPP Used
V-memory
Pointer
Handheld Programmer Keystrokes
$
STR
SHFT
GX
OUT
Out Most (OUTM)
The Out Most instruction copies the value in the upper eight
bits of the lower sixteen bits of the accumulator to the upper
230
eight bits of the specified V-memory location (i.e., it copies the
240
high byte of the low word of the accumulator).
250-1
260
Operand Data Type
DS
Used
V-memory
HPP Used
Pointer
In the following example, when X1 is on, the value in V1400 will be loaded into the lower 16
bits of the accumulator using the Load instruction. The value in the upper 8 bits of the lower
16 bits of the accumulator are copied to V1500 using the Out Most instruction.
Handheld Programmer Keystrokes
$
STR
SHFT
GX
OUT
X1
LD
V1400
OUTL
V1500
B
ENT
1
L
D
B
E
ANDST
3
1
4
L
B
F
SHFT
ANDST
1
5
X1
LD
V1400
OUTM
V1500
B
ENT
1
L
D
B
E
ANDST
3
1
4
M
B
F
SHFT
ORST
1
5
DL260 Range
A
aaa
V
All V-memory. See memory map
P
All V-memory. See memory map
Load the value in V1400 into
the lower 16 bits of the
accumulater
Copy the value in the lower
8 bits of the accumulator to
V1500
Acc.
A
A
ENT
0
0
A
A
ENT
0
0
DL260 Range
aaa
A
V
All V-memory. See memory map
P
All V-memory. See memory map
Load the value in V1400 into
the lower 16 bits of the
accumulator
The unused accumulator
Copy the value in the upper
bits are set to zero
8 bits of the lower 16 bits of
the accumulator to V1500
Acc.
A
A
ENT
0
0
A
A
ENT
0
0
DL205 User Manual, 4th Edition, Rev. B
O UT L
A aaa
V1400
8
9
3
5
The unused accumulator
bits are set to zero
0
0
0
0
8
9
3
5
0
0
3
5
V1500
O UT M
O UT M
A aaa
A aaa
V1400
8
9
3
5
0
0
0
0
8
9
3
5
8
9
0
0
V1500
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
5–69
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?