Motorola HC12 Manuale Utente
Assembler Messages
Message Codes
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Assembler Messages
251
12.3.6 A1054: References on Non-Absolute Objects Are not Allowed
When Options -FA1 or -FA2 Are Enabled
Type:
Error
Description:
A reference to a relocatable object has been detected during
generation of an absolute file by the assembler.
generation of an absolute file by the assembler.
Example:
XREF extData
DataSec: SECTION
data1: DS.W 1
ORG $800
entry:
LDX #data1
LDX extData
Tips:
When generating an absolute file, the application should be
encoded in a single source file and should contain only a
relocatable symbol.
encoded in a single source file and should contain only a
relocatable symbol.
To avoid this message, define all sections as absolute sections
and remove all XREF directives from the source file.
and remove all XREF directives from the source file.
Example:
ORG $B00
data1: DS.W 1
ORG $800
entry:
LDX #data1