I am using 8051F120 having 127KB Program memory, theoretically. I have written 4 *.C files residing in each bank. The length of the code in Bank1 and Bank2 is less than 32KB (observing the list file). But, instead of this, the linker gives an address space overflow for both the banks. Kindly assist.
Dhaval Solanki
If the OP wants to engage in the discussion, he could explain why the bodge is necessary or appropriate in his particular case.
You, I and nobody apart from the OP (and his team) knows whether it is necessary and/or appropriate to use banking at this time. Until such time, it would be better to avoid looking excessively arrogant and assume it might not be a bodge.
Experience of this and other forums suggests that is quite possibly not a valid assumption.
www.catb.org/.../smart-questions.html