Keil Logo Arm Logo

AX51: ERRORS ASSEMBLING CONF_TNY.A51


Information in this article applies to:

  • AX51 Version 1.x
  • RTX51 Tiny Version 1.06

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

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Wednesday, April 21, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 

Keil logo

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.