ARM Technical Support Knowledge Articles

ERRORS ASSEMBLING XBANKING.A51

Applies to: AX51 Macro Assembler

Answer


Information in this article applies to:


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

Article last edited on: 2001-07-20 00:00:00

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential