DL205 User Manual, 4th Edition, Rev. B
5–168
Chapter 5: Standard RLL Instructions - Table
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
The following diagram shows the scan-by-scan results of the execution for our example
program. The table counter is set to 2 initially, and it will automatically increment from 2 to
6 as the instruction is executed. Notice how SP56 comes on when the table counter is 6,
which is equal to the table length. Plus, although our example does not show it, we are
assuming that there is another part of the program that changes the value in V1500 (data
source) prior to the execution of the ATT instruction.
V
1
4
0
1
7
7
7
7
V
1
4
0
2
4
3
4
3
V
1
4
0
3
5
6
7
8
V
1
4
0
4
1
2
3
4
V
1
4
0
5
0
5
0
0
V
1
4
0
6
9
9
9
9
V
1
4
0
7
X
X
X
X
1
2
3
4
5
6
7
7
7
7
V
1
4
0
1
4
3
4
3
V
1
4
0
2
5
6
7
8
V
1
4
0
3
1
2
3
4
V
1
4
0
4
0
5
0
0
V
1
4
0
5
9
9
9
9
V
1
4
0
6
3
0
7
4
V
1
4
0
7
X
X
X
X
V
1
4
0
1
4
3
4
3
V
1
4
0
2
5
6
7
8
V
1
4
0
3
1
2
3
4
V
1
4
0
4
0
5
0
0
V
1
4
0
5
9
9
9
9
V
1
4
0
6
3
0
7
4
V
1
4
0
7
X
X
X
X
1
2
3
4
5
6
V
1
4
0
1
5
6
7
8
V
1
4
0
2
1
2
3
4
V
1
4
0
3
0
5
0
0
V
1
4
0
4
9
9
9
9
V
1
4
0
5
3
0
7
4
V
1
4
0
6
8
9
8
9
V
1
4
0
7
X
X
X
X
V
1
4
0
1
5
6
7
8
V
1
4
0
2
1
2
3
4
V
1
4
0
3
0
5
0
0
V
1
4
0
4
9
9
9
9
V
1
4
0
5
3
0
7
4
V
1
4
0
6
8
9
8
9
V
1
4
0
7
X
X
X
X
V
1
4
0
1
1
2
3
4
V
1
4
0
2
0
5
0
0
V
1
4
0
3
9
9
9
9
V
1
4
0
4
3
0
7
4
V
1
4
0
5
8
9
8
9
V
1
4
0
6
1
0
1
0
V
1
4
0
7
X
X
X
X
1
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