Share via


GOTO (MASM)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at GOTO (MASM).

Transfers assembly to the line marked **:**macrolabel.

Syntax

  
GOTO   
macrolabel  
  

Remarks

GOTO is permitted only inside MACRO, FOR, FORC, REPEAT, and WHILE blocks. The label must be the only directive on the line and must be preceded by a leading colon.

See Also

Directives Reference