LABEL

Defines a label for using with goto or jmp/jmp.

Syntax

<labelname>:
label <labelname>
:<labelname>

Parameters

labelname
  • Name of label. May consists of letters, digits, and underscore symbol.

Remarks

Valid labels
abc:
Abc:
ABC:
Label1:
Label100:
CYCLE:
Cycle_100:
Invalid labels
10ABC:
7cycles:

Example 0x00

sleeps 500   ; Set Sleeps = 500 ms
 
goto NOLABEL ; This line will be skipped in that NOLABEL is not defined
goto LABEL1
 
label LABEL3 ; Define Label "LABEL3"
0010
goto LABEL1
 
:LABEL2      ; Define Label "LABEL2"
010
goto LABEL3
 
LABEL1:      ; Define Label "LABEL1"
10
goto LABEL2
exgoto.mlh_g.gif