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:
Whengenerating 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