GOTO

Goto label. If label not found - command will be skipped (unlike the JMP, JUMP).
GOTO is equal to JMP, JUMP, except cases then pointed label not defined and not found.

Syntax

goto <label>
random goto <label> <label> ... <label> ; Jump to random label

Parameters

label
  • Label can be defined by three ways:
  • label <labelname>
  • <labelname>:
  • :<labelname>
  • Other commands can not be placed in same line with label definition.

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