symbol MACRO ¤ argument ¤ , argument ¥ ¥
symbol is the symbol name that is assigned to the macro.
argument is an argument to the macro. Arguments must be separated by commas and must be valid symbol names. Each argument must be unique.
A macro definition must be terminated with the ENDM directive.
Refer to the chapter entitled Macro Processor for more information about this directive.
CLEAR MACRO G1, G2 ;macro definition
MOV R0, #G1
MOV A, #G2
MOV @R0, A
ENDM