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
uVision already has a feature that can tell you most of this kind of thing. The source browser creates a database of functions and callers and callees. To view it...
The fundamental limitation that I find with the Sourec Browser is that there's no way to export any results from it. :-( It all has to be done interactively in the GUI - and is all lost when you close the GUI. :-( MSVC used to have a command-line tool for querying their browser database ("bscdump", IIRC) - something like that would be really useful!
hi for this function pointer with code banking problem ,i come to know that OVERLAY directive can Generate table which has return address of function pointers. so any body know how to set this OVERLAY directive in keil? regards Niraj