Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 746 Bytes

File metadata and controls

30 lines (23 loc) · 746 Bytes
description Learn more about: MACRO
title MACRO
ms.date 12/16/2019
f1_keywords
MACRO
helpviewer_keywords
MACRO directive
ms.assetid 89434f7c-bc2c-4e91-8940-fe2db8785233

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