hi i want to assigne my own address to every function i write, i mean each function has to start in the code memory where i select. i want to store the function in order, in which i want to, so can i do it? and if so how can?
Why do you want to do this? Keeping track of memory is hard work, which the compiler can do for you. If you do it yourself, you will need to move functions to avoid wasteful gaps or catastrophic overlap. I would think about this REALLY hard, because I've never found a need for it.
As Oliver says, you need a really, really, really good reason to do this!
So, if you are absolutely certain that this is the only way to go, you are going to have to study the Linker manual very thoroughly - as the Linker is the tool to do this.
Note: to manually assign addresses to every single function, will require each function will have to be in its own separate source file...
Maybe you want to do something completely differenct (such as a Multi-Application project). Take a look to:
http://www.keil.com/appnotes/docs/apnt_180.asp
thanx boss, but i got the solution to my problem, its easy, and thanx for ur responce
hello friends, can i compile the program block-by block?