| ??? 07/26/03 23:20 Read: times |
#51503 - Linker fixup errors |
Hi there
I am programming and AT89C4051 and when my program now gives the following error when linking ERROR 121 : IMPROPER FIXUP (AJMP/ACALL OUT OF RANGE?) AT ADDRESS: 0835 I am using the small memory model which uses LCALL so I would have thought that this meant no issues with the 2k limit of the ACALL; but I don't really know enough about the problem for me to be able to solve it. I am using IAR and the code size is now about 2765Bytes and this is where the error started to occur, the functions were all being called OK before this (the functions are to drive the LCD so I had them running when the program was smaller) if I comment out the lines that call the display functions then it all works again (but no display obviously) I am using C; I have looked at the listing of the code and can see that it is using LCALL, the only thing that is in there is the SJMP that perhaps should be a LJMP? but how do I force the Linker to use this instruction instead. Or am I on the wrong track entirely? Any help or ideas appreciated. Regards Marshall Brown |
| Topic | Author | Date |
| Linker fixup errors | 01/01/70 00:00 | |
| RE: Linker fixup errors | 01/01/70 00:00 | |
| RE: Linker fixup errors | 01/01/70 00:00 | |
| RE: Linker fixup errors | 01/01/70 00:00 | |
| RE: Linker fixup errors | 01/01/70 00:00 | |
| RE: Linker fixup errors | 01/01/70 00:00 | |
| RE: Linker fixup errors | 01/01/70 00:00 | |
| RE: Linker fixup errors | 01/01/70 00:00 | |
| RE: Linker fixup errors | 01/01/70 00:00 | |
RE: Linker fixup errors | 01/01/70 00:00 |



