Keil Logo

BL51: ERROR 121 (IMPROPER FIXUP)


Information in this article applies to:

  • C51 All Versions

QUESTION

Help. I'm using the 8051 tools and I am getting the following linker error:

*** ERROR L121: IMPROPER FIXUP

The segment and offset indicate a clear bit and set bit instruction. What's wrong?

ANSWER

This is caused by an invalid address for the bit. The address used is outside of the bit addressable area.

For BIT variables, the address must be between 0x20 and 0x2F inclusive.

For SFR variables that are bit-addressable, the address must end in 0 or 8.

MORE INFORMATION

FORUM THREADS

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

Last Reviewed: Tuesday, July 19, 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.