Keil Logo

AX51: ERRORS ASSEMBLING XBANKING.A51


Information in this article applies to:

  • AX51 Version 1.14
  • µVision2 Version 2.14

SYMPTOM

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.

CAUSE

This error is caused by the registers DPL and DPH that are undefined by the AX51 assembler.

RESOLUTION

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


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.