LABELDefines a label for using with goto or jmp/jmp.Syntax<labelname>: label <labelname> :<labelname> Parameterslabelname
RemarksValid labelsabc: Abc: ABC: Label1: Label100: CYCLE: Cycle_100: Invalid labels 10ABC: 7cycles: Example 0x00sleeps 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 ![]()
|