[ERROR]
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.
Not all assemblers do support the PAGE operator.
cstSec: SECTION
pgEntry DC.B PAGE(entry)
adrEntry: DC.W entry
codeSec: SECTION
entry:
NOP
NOP
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.
cstSec: SECTION
adrEntry: DC.L entry
codeSec: SECTION
entry:
NOP
NOP