Because the 8051 is only 16 bits address space(64KB). So, if my code is more than 64KB. It will need to switch the code bank. I found some function the C51 add correct switch bank code, sometimes not. I want to know if there is any condition will make C51 not add switch bank code in different bank function. Or if there is any limition for different bank function to call other other bank function.
I found some function the C51 add correct switch bank code, sometimes not. If you are saying that the tools do not correctly switch code banks, you should probably contact technical support. There are currently no known issues with code banking. We have a lot of customers who have been using it for many years with no reported problems. Jon