Keil Logo

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 6, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.