We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi i have project with in system programable ability some of procedure in one c file have main and must not modified and some other most modify i have one block of code variable must modify _at_ procedure only operate for one procedure or var how set in c51 all procedure in one unit start from define address (gorup addressing) and some other gorup to other start code address ?
With C51 each procedure is in a single segment. For example procedure MyProc() in file MyFile.c is un segment ?PR?MYPROC?MYFILE. With linker you can locate each segment at a specific adress with directive code, bankn or common. For example, directive code(?PR?MYPROC?MYFILE(5000h)) locate procedure MyProc() at 5000h.