.endm

Name

.endm --  marks the end of a macro definition

Syntax

.endm

Description

The .endm directive marks the end of a macro definition. All macros must end with the .endm directive.

Example

		.macro EXMP
			.	; macro definition code
			source
			.
		.endm		; end of macro
	

The optional label is in the macro definition, but the comment is not.

See the Section called defining a macro in Chapter 6 for more examples.