DL205 User Manual, 4th Edition, Rev. B
5–67
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 Formatted (OUTF)
The Out Formatted instruction outputs 1 to 32 bits
from the accumulator to the specified discrete memory
locations. The instruction requires a starting location
(Aaaa) for the destination and the number of bits
(Kbbb) to be output.
In the following example, when C0 is on, the binary pattern of C10–C16 (7 bits) will be
loaded into the accumulator using the Load Formatted instruction. The lower 7 bits of the
accumulator are output to Y20–Y26 using the Out Formatted instruction.
Operand Data Type DL240 Range DL250-1 Range DL260 Range
A aaa bbb aaa bbb aaa bbb
Constant K 1-32 1-32 1-32
0
A
7
H
ENT
Handheld Programmer Keystrokes
LDF C10
K7
C0
Load the status of 7
consecutive bits (C10–C16)
into the accumulator
OUTF Y20
K7
Copy the value of the
specified number of bits
from the accumulator to
Y20–Y26
K7C10
Location Constant
00000000000011100000000000000000
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 1631 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
K7Y20
Location Constant
C16 C15 C14 C13 C12 C11 C10
OFFONONONOFFOFF OFF
Y21 Y20Y23 Y22Y26 Y25 Y24
OFFONONONOFFOFFOFF
The unused accumulator bits are set to zero
Accumulator
DirectSOFT
STR
$
SHFT ENT
2
C
0
A
SHFT
ANDST
L
3
D
5
F
SHFT
2
C
1
B
0
A
7
H
ENT
OUT
GX
SHFT
5
F
2
C
DS Used
HPP Used