AARM User's Guide

Discontinued

Standard Macro Controls

The AARM Assembler provides a number of control statements that are used specifically for standard macros.

ControlDescription
MACRODefines a macro specifying the macro name, parameter list, and macro body.
EXITMCauses macro expansion to terminate immediately.
ENDMMarks the end of a macro definition.
LOCALSpecifies up to 16 local labels used within the macro.
REPTSpecifies a block that is expanded a specified number of times.
IRPSpecifies a list of arguments that are substituted, one at a time, for a specified parameter in the specified macro block.
IRPCSpecifies an argument to be substituted, one character at a time, for a specified parameter in the specified macro block.