## ALP Programming Guide and Reference

[prev][next][parent][TOC]

### Macro Directives

A macro procedure or function, which is comprised of one or more statements .

Macro processing is text processing that is done sequentially at assembly time. By the end of assembly, ALP expands all macros and assembles the resulting text into object code.

This section describes the following types of macros:

Macro procedures, which expand to one or more complete statements and can optionally take parameters
Repeat blocks, which generate a group of statements a specified number of times or until a condition becomes true

This section describes the following macro directives:

ENDM
EXITM
FOR/IRP
FORC/IRPC
LOCAL
MACRO
PURGE
REPEAT/REPT