|ARM Technical Support Knowledge Articles|
Applies to: AX51 Macro Assembler
Information in this article applies to:
When creating a project that uses XBANKING, the following error may be received when you assemble the XBANKING.A51 file using the AX51 assembler.
000000 106+1 ?C?CLDXPTR: LOAD_BANK *** ERROR #A45 IN 107 (XBANKING.A51, LINE 106): UNDEFINED SYMBOL
The error indicates that there is an undefined symbol in the LOAD_BANK macro.
This error is caused by the registers DPL and DPH that are undefined by the AX51 assembler.
Define the DPL and DPH registers prior to using the LOAD_BANK macro. This will solve this problem. For example:
B DATA 0F0H ; SFR Address DPL DATA 082H DPH DATA 083H
Article last edited on: 2001-07-20 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?