I am using Keil uVision2.. How can I force a function to an specified location. Please reply me soon.
Regards.
Maaz Qazi
the result (which is consist of my post) is "if you havent got knowledge enough, dont try to help other people ;("
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/
Use the Linker
http://www.keil.com/support/man/docs/c51/c51_le_absvarloc.htm
View all questions in Keil forum