I have written my application in C. I want the binary genrated to start from location 4096 (1000H) instead of 0000H, so that the symbol references are genreated accordingly.
How can I do this?
I tried putting CSEG at 1000H in the file start751. and in Mvision 2 project options configured the code segment range to start at 1000H, but it did not work. The binary is still generated to start from 0000H
Reason I need this: My RAM starts from location 1000H in the memory space. Regards, Gaurav
"Reason I need this: My RAM starts from location 1000H in the memory space"
NO! That is no reason at all to mess with your CODE addresses!
You still haven't understood that the 8051 has completely separate, distinct, independent address spaces for CODE and XDATA!
Either Go back to your original thread, and study the documents suggested: http://www.keil.com/forum/docs/thread10400.asp
Or, if you have some special memory architecture, you need to study the specific Documentation for that architecture to understand how to configure it appropriately.