17 a2307: macro redefinition, A2307: macro redefinition – Motorola HC12 User Manual

Page 261

Advertising
background image

Assembler Messages

Message Codes

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Messages

261

12.3.17 A2307: Macro Redefinition

Type:

Error

Description:

The input file contains the definition of two macros that have
the same name.

Example:

AddM: MACRO

LDX \1

INX

STX \1

ENDM

AddM: MACRO

LDD \1

ADD \2

STD \1

ENDM

Tip:

Change the name of one of the macros to generate unique
identifiers.

Example:

AddX: MACRO

LDX \1

INX

STX \1

ENDM

AddM: MACRO

LDD \1

ADD \2

STD \1

ENDM

Advertising