Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Skip to Label
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   GOTO macrolabel
 
  See also: Macro Labels (:/::), .BREAK, .CONTINUE, MACRO
 
  Description:
 
     Causes assembler to skip to <macrolabel>. The GOTO directive is
     only allowed inside a MACRO, FOR, FORC, REPEAT, or WHILE block.
     The <macrolabel> is only visible within the block.
 
  Example:
 
     MACRO     Instruments
               IFNDEF    Cymbal
                         GOTO     Crash
               ENDIF
               ∙
               ∙
               ∙
               :Crash
                         .ERR     <Undefined symbol.>
               ∙
               ∙
               ∙
     ENDM
                                    -♦-