|ARM Technical Support Knowledge Articles|
Applies to: AX51 Macro Assembler
Information in this article applies to:
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.
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.
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
Did you find this article helpful? Yes No
How can we improve this article?