AX51: ERRORS ASSEMBLING XBANKING.A51
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
Last Reviewed: Friday, July 20, 2001
of your data.