Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Macro and Iterative Blocks
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Select a directive for more information.
 
     Directive     Description
 
     MACRO         Starts a macro block
     ENDM          Ends a macro block
     PURGE         Removes macro from memory
     TEXTEQU       Defines text symbol, resolves text macros and expressions
 
     LOCAL         Declares local macro placeholder
     PUSHCONTEXT   Saves context information to stack
     POPCONTEXT    Restores saved context information from stack
     EXITM         Terminates enclosing macro
     GOTO          Skips to label in macro
 
     REPEAT        Repeats assembly of block given number of times
     WHILE         Repeats assembly of block while true
     FOR           Repeats macro for each parameter given
     FORC          Repeats macro for each character given
 
     See also: Macro Labels, OPTION OLDMACROS, Control-Flow Directives
                                    -♦-