5.12 ENDM and ENDMACRO

End macro.

The ENDMACRO directive defines the end of a macro definition. The directive does not take any parameters. See the MACRO directive for more information on defining macros. ENDM is an alternative form, fully equivalent with ENDMACRO.

Syntax
.ENDMACRO
.ENDM
Example
.MACRO SUBI16 ; Start macro definition 
subi r16,low(@0) ; Subtract low byte 
sbci r17,high(@0) ; Subtract high byte 
.ENDMACRO