Motorola HC12 User Manual

Page 281

Advertising
background image

Assembler Messages

Message Codes

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Messages

281

12.3.41 A2335: Exported Absolute SET Label is not Supported

Type:

Error

Description:

A label specified in front of a SET directive was specified
previously in an XDEF directive. This is not allowed.

Example:

XDEF setLabel

CstSec: SECTION

lab: DC.B 6

...

setLabel: SET $77AA

...

Tip:

SET labels can be defined in a special file which can be
included in each assembly file where the labels are referenced.

Example:

File const.inc

...

setLabel: SET $77AA

...

File Test.asm

INCLUDE “const.inc”

CstSec: SECTION

lab: DC.B 6

...

Advertising