Is currently directly generated, A2341: relocatable section not allowed, Absolute file is currently directly generated – Motorola HC12 User Manual

Page 284: Assembler messages

Advertising
background image

User’s Manual

MCUez HC12 Assembler

284

Assembler Messages

MOTOROLA

Assembler Messages

12.3.44 A2341: Relocatable Section not Allowed:

Absolute File is Currently Directly Generated

Type:

Error

Description:

A relocatable section has been detected while the assembler
tries to generate an absolute file. This is not allowed.

Example:

DataSec: SECTION

data1: DS.W 1

ORG $800

entry:

LDX #data1

Tips:

• When generating an absolute file, the application should be

encoded in a single assembly unit and should not contain a
relocatable symbol.

• To avoid this message, define sections as absolute and

remove all XREF directives from the source file.

Example:

ORG $B00

data1: DS.W 1

ORG $800

entry:

LDX #data1

Advertising