ARM Technical Support Knowledge Articles

ERROR 121 (IMPROPER FIXUP)

Applies to: BL51 Code-banking Linker/Locator

Answer


Information in this article applies to:


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

Article last edited on: 2005-07-19 15:16:26

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential