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

question about absolute address function call!help me .

hi,all,i have a question about keil c51,can anybody help me ?
first, i develope a program,which is loaded into flash(i called it main program later), and i place a function in EEPROM with an absolute address,which can be called by main program in flash.in such a way i can only change the function for another use.and now.i have to develope a function which is to be placed in the absolute address. i compile the function with the main program, but to my surprise: sometimes the function disturb the main program!it means that the main program's functions address is shifted!and the function in EEPROM call those functions failed.....anybody have any other solution?Thanks !