I am using Keil uVision2.. How can I force a function to an specified location. Please reply me soon.
Regards.
Maaz Qazi
2-Functions may not be located at an absolute address.
That may be true from the compilers point of view.
By using the appropriate linker commands, it is possible to locate functions, or rather, segments, at absolute addresses. Doing this for several functions will require putting each of the functions in their own separate source file.
http://www.keil.com/support/man/docs/lx51/