Edit

MACRO

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

Syntax

name MACRO ⟦parameter ⟦:REQ | :=default | args :VARARG⟧ ...⟧
statements
⟦GOTO :macrolabelId⟧
⟦EXITM⟧
ENDM ⟦value⟧

Remarks

A macro function returns value to the calling statement.

See also

Directives reference
GOTO (MASM)
ENDM
MASM BNF Grammar