ENDM - End macro definition

Syntax
  ENDM
  
  
Synonym

None

Description

The ENDM directive terminates the macro definition.

Example

The ENDM statement in the following listing terminates the cpChar macro.

Listing: Using ENDM to terminate a macro definition

cpChar:  MACRO
           LD D6, \1

           ST D6, \2

         ENDM

CodeSec: SECTION

Start:

         cpChar char1, char2

         LD D6, char1

         ST D6, char2