DL205 User Manual, 4th Edition, Rev. B
5–179
Chapter 5: Standard RLL Instructions - Program Control
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Program Control Instructions
Goto Label (GOTO) (LBL)
The Goto / Label skips all instructions between the Goto
and the corresponding LBL instruction. The operand
value for the Goto and the corresponding LBL
instruction are the same. The logic between Goto and
LBL instruction is not executed when the Goto
instruction is enabled. Up to 128 Goto instructions and
64 LBL instructions can be used in the program.
In the following example, when C7 is on, all the program logic between the GOTO
and the corresponding LBL instruction (designated with the same constant Kaaa value) will
be skipped. The instructions being skipped will not be executed by the CPU.
Operand Data Type DL240 Range DL250-1 Range DL260 Range
aaa aaa aaa
Constant K 1-FFFF 1-FFFF 1-FFFF
Handheld Progr ammer Keystr okes
LBL K5
C7
K5
GOTO
X1
C2
OUT
X5
Y2
OUT
STR
$
SHFT
2
C
ENT
7
H
SHFT
6
G
INST#
O
MLR
T
INST#
O
5
F
STR
$
OUT
GX
SHFT
2
C
2
C
ENT
SHFT
ANDST
L
1
B
ANDST
L
5
F
ENT
STR
$
OUT
GX
1
B
ENT
ENT
5
F
2
C
ENT
ENT
DirectSOFT
DS Used
HPP Used