This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Linker exceeding common bank

Setup: Common Bank (0x0000 - 0x7FFF), Bank0(0x8000 - 0xFFFF) and Bank1(0x8000 - 0xFFFF)

Using Lx51 linker I observed that linker puts data in area outside common bank. Mainly it has been observed that ?L?COM0xxx kind of notations which are typically used in banking mode are residing in that area.

Following is an example of .map file:

007FDEH   00ED4AH   006D6DH   ---    ---      **GAP**
00ED4BH   00ED56H   00000CH   BYTE   UNIT     CODE           ?L?COM0552
00ED57H   00ED5DH   000007H   BYTE   UNIT     CODE           ?L?COM0727

So, it looks like somehow it puts a gap till 0xED4B and then puts data in common bank. But also in Bank 0 there is data at same location!

How to resolve this issue?