Technical Support

L251: ERROR L121 (IMPROPER FIXUP) IN STARTUP.A51


Information in this article applies to:

  • C251 All Versions

QUESTION

Why does the 251 linker (L251) report "L121 Improper fixup error" in my STARTUP.A51 file?

ANSWER

Make sure that if you modify the startup file to set the STACK correctly. In the 80251, the stack pointer is a 16-bit value. If you are accustomed to using the 8051, it is easy to forget to initialize the upper byte. This means the upper byte never gets set which may cause this error message.

Last Reviewed: Wednesday, July 06, 2005


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