AX51: ERRORS ASSEMBLING CONF_TNY.A51
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
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Wednesday, April 21, 2004