13 a2303: endm is illegal, A2303: endm is illegal – Motorola HC12 User Manual

Page 257

Advertising
background image

Assembler Messages

Message Codes

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Messages

257

12.3.13 A2303: ENDM is Illegal

Type:

Error

Description:

An ENDM directive is detected outside a macro.

Example:

AddM: MACRO

LDD \1

ADD \2

STD \1

ENDM

NOP

AddM data1, data2

ENDM

Tip:

Remove the superfluous ENDM directive.

Example:

AddM: MACRO

LDD \1

ADD \2

STD \1

ENDM

NOP

AddM data1, data2

Advertising