Motorola HC12 User Manual

Page 307

Advertising
background image

Assembler Messages

Message Codes

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Messages

307

12.3.67 A12405: PAGE with Initialized RAM not Supported

Type:

Error

Description:

The PAGE operator has been specified in a DC directive. This
restriction applies only to the MCUez file format.

Example:

adrEntry: DC.W entry

codeSec: SECTION

entry:

NOP

NOP

cstSec: SECTION

pgEntry DC.B PAGE(entry)

Tip:

The complete address from the entry label can be loaded using
a DC.L directive. The only drawback is that four bytes are
allocated to store the address instead of three bytes.

Example:

codeSec: SECTION

entry:

NOP

NOP

cstSec: SECTION

pgEntry DC.L entry

Advertising