beautypg.com

26 a2317: illegal redefinition of section name, A2317: illegal redefinition of section name – Motorola HC12 User Manual

Page 267

background image

Assembler Messages

Message Codes

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Messages

267

12.3.26 A2317: Illegal Redefinition of Section Name

Type:

Error

Description:

The name associated with a section was previously used as a
label in a code or data section or is specified in an XDEF
directive.

The macro assembler does not allow a section name to be
exported or to use the same name for a section and a label.

Example:

dataSec: SECTION

secLabel: DS.W 3

secLabel: SECTION

LDD secLabel

Tip:

Change section name to a unique identifier.

Example:

dataSec: SECTION

seclabel: DS.W 3

sec_Label: SECTION

LDD secLabel