ARM Technical Support Knowledge Articles

ERRORS ASSEMBLING CONF_TNY.A51

Applies to: AX51 Macro Assembler

Answer


Information in this article applies to:


SYMPTOMS

When creating a project with RTX51 Tiny, the following error may be received when you assemble the CONF_TNY.A51 file using the AX51 assembler.

000000                   82+1   ?RTX_STACKERROR:  STACK_ERROR
*** ERROR #A45 IN 83 (CONF_TNY.A51, LINE 82): UNDEFINED SYMBOL

The error indicates that there is an undefined symbol in the STACK_ERROR macro.

CAUSE

This error is caused by the SFR-bit EA that is undefined by the AX51 assembler. By default, the 8051 SFRs were defined by the A51 Assembler. This is not the case with the AX51 Assembler.

RESOLUTION

Define EA prior to using the STACK_ERROR macro. This will solve the problem. For example:

EA      BIT     0AFH

Article last edited on: 2004-04-21 20:42:35

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