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

Function pointer with code banking

Hi
I am using Keil compiler for 8051 development.
i use function pointer throught in my program using code banking. i have 512 k of external ROM with 32 k of 16 banks defined.

i went through web and come to know that function pointer can be used with code banking but the condition is that all related files need to be kept in common area or same bank.

and also use OVERLAY.

now i have problem that it is pretty much difficult to keep all related function pointer files in one bank.

i have too many files which gives code overflow if i keep them in same bank.

please reply as soon as possible
and also explore more this OVERLAY with this function pointer and code banking.

regards
Have a nice day
Niraj Patel

Parents Reply Children
No data