A1405: PAGE with initialized RAM not supported

[ERROR]

Description

The Macro Assembler does not support the use of the HIGH operator with initialized RAM in the HIWARE format. In the ELF format, it is allowed and this message is not used.

Note

Not all assemblers do support the PAGE operator.

Example
  cstSec:  SECTION

  pgEntry   DC.B PAGE(entry)

  adrEntry: DC.W entry

  codeSec: SECTION

  entry:

           NOP

           NOP
  
Tips

You can load the whole address from the entry label using a DC.L directive. The only draw back is that you have allocated 4 byte to store the address instead of 3 bytes.

Example
  cstSec:  SECTION

  adrEntry: DC.L entry

  codeSec: SECTION

  entry:

           NOP

           NOP