DL205 User Manual, 4th Edition, Rev. B
5–159
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. Notice how the pointer automatically decrements from 6 to 0. Also, notice how
SP56 is only on until the end of the scan.
Befor e R FB Execution After RFB Execution
Befor e R FB Execution After RFB Execution
Befor e R FB Execution After RFB Execution
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
T able Pointer ( Autom ati cal l y Decrem ented)
T able Pointer ( Autom ati cal l y Decrem ented)
V1401
0500
V1402
9999
V1403
3074
V
1404
8989
V1405
1010
V1406 2046
V1407
XXXX
.
.
V1500
XXX X
Befor e R FB Execution After RFB Execution
Example of Execution
Scan N
1
2
3
4
5
6
Scan N+1
Scan N+4
D
estination
V1400
000 6
T able PointerTabl e
V1401
0500
V1402
9999
V1403
3074
V
1404
8989
V1405
1010
V1406 2046
V1407
XXXX
V1500
2046
D
estination
V1400
0005
T able Pointer ( Autom ati cal l y Decrem ented)Table
V1401
0500
V
1402
9
999
V1403
3074
V1404
8989
V1405 1010
V1406
2046
V1407
XXXX
.
.
V1500
1010
Destination
V14000004
T able
V1401
0500
V1402 9999
V1403
3074
V1404
8989
V1405 1010
V1406
2046
V1407
XXXX
.
.
V1500
9999
Destination
V14000001
T able
V1401
0500
V
1402
9
99 9
V1403
3074
V1404
8989
V1405 1010
V1406
2046
V1407
XXXX
.
.
V1500
204 6
1
2
3
4
5
6
Destination
V14000005
T able PointerTabl e
V1401
0500
V1402 9999
V1403
3074
V1404
8989
V1405 1010
V1406
2046
V1407
XXXX
.
.
V1500
307 4
1
2
3
4
5
6
Destination
V14000002
T able PointerTabl e
.
.
.
SP56 = OFF
SP56
SP56 = OFF
SP56
SP56 = OFF
SP56
T able Pointer
Scan N+5
V1401
0500
V1402 9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407 XXXX
V15000500
Destination
V1400
0000
T able
V1401
0500
V1402 9999
V1403
3074
V1404
8989
V1405
1010
V1406
2046
V1407 XXXX
.
.
V1500
999 9
1
2
3
4
5
6
Destination
V1400
000 1
T able PointerTabl e
SP56 = ON
SP56
SP56 = OFF
SP56
SP56 = OFF
SP56
SP56 = OFF
SP56
SP56 = OFF
SP56
until end of scan
or next i nstructi on
that uses SP56
.
.
.
.