Motorola HC12 User Manual

Page of 328
User’s Manual
MCUez HC12 Assembler
260
Assembler Messages
MOTOROLA
Assembler Messages
12.3.16  A2306: Macro not Closed at End of Source
Type:
Error
Description:
An ENDM directive is missing at the end of a macro. The end
of the input file is detected before the end of the macro.
Example:
AddM: MACRO
       LDD \1
       ADD \2
       STD \1
  NOP
  AddM data1, data2
Tip:
Insert the missing ENDM directive at the end of the macro.
Example:
AddM: MACRO
       LDD \1
       ADD \2
       STD \1
     ENDM
  NOP
  AddM data1, data2