Instructs the assembler to terminate the execution of a series of statements defined as the functions of the macro.
The .endm directive instructs the assembler to terminate the execution of a series of statements defined as the functions of the macro. |
The .endm directive must always be described at the end of a series of statements following the .macro, .rept, and/or the .irp directives. |
A series of statements described between the .macro directive and .endm directive becomes a macro body. |
A series of statements described between the .rept directive and .endm directive becomes a REPT-ENDM block. |
A series of statements described between the .irp directive and .endm directive becomes an IRP-ENDM block. |
If the .macro, .rept, or .irp directive corresponding to this directive does not exist, the assembler outputs the message then stops assembling. |