MACRO

Marks a macro block called name and establishes parameter placeholders for arguments passed when the macro is called.

Syntax

name MACROparameter:REQ | :=default | args :VARARG⟧ ...⟧
statements
GOTO :macrolabelId
EXITM
ENDMvalue

Remarks

A macro function returns value to the calling statement.

See also

Directives reference
GOTO (MASM)
ENDM
MASM BNF Grammar