The .ENDM
directive marks the end of a macro definition. The macro definition
is entered into the macro table and the remaining source lines are
read in and assembled. An .ENDM
directive must always accompany a .MACRO
directive.
Syntax |
 |
Example |
 |
This example defines the macro QUADL;
it aligns the data specified in the macro parameters on quad word
boundaries. The .ENDM
directive delimits the end of the definition of QUADL.
QUADL .MACRO WD1,WD2,WD3,WD4 .ALIGN 16 .WORD WD1 .ALIGN 16 .WORD WD2 .ALIGN 16 .WORD WD3 .ALIGN 16 .WORD WD4 .ENDM
|