End macro definition directive
Format
.ENDM [macro-name]
1 – Parameter
macro-name
The name of the macro whose definition is to be terminated. The
macro name is optional; if specified, it must match the name
defined in the matching .MACRO directive. The macro name should
be specified so that the assembler can detect any improperly
nested macro definitions.
2 – Description
.ENDM terminates the macro definition. See the description of
.MACRO for an example that uses an .ENDM directive.
3 – Notes
o If .ENDM is encountered outside a macro definition, the
assembler displays an error message.