int xdata i _at_ 0x8000; In this, the variable 'i' stores in user defined location 0x8000.Similarly my whole function have to be stored and compiled from user defined location(0xE000). I am using ADUC841. Kindly anyone help me in this regard.
This seems to be a continuation of this thread, but finally with a question asked:
http://www.keil.com/forum/docs/thread12332.asp
Take a look at the documentation for the linker. It is the job of the linker to map the code to memory locations.