dear friends i am a student from india, i am not able to relocate my program within 2k(0x07ff) of 89c2051 will you help me regarding any setting in compiler that could relocate my code within 0 to 0x7ff
Take a look to:
http://www.keil.com/support/docs/3235.htm
Jon
http://www.keil.com/support/docs/3235.htm tells you how to control the use of AJMP/LJMP and ACALL/LCALL; it doesn't tell you how to re-locate code to a specific address within the CODE space.
It does, however, mention the reason why you can't use the free evaluation version to program the 80c2051...