I am using keil uvision2 and C51. I want to split the resulting hex file into 2 parts . please how is it possible?
Perhaps if you explained why you want to do this it would help to provide an appropriate answer?
Your requirement is unclear. Using the RANGE directive in OHX51 should do the job. But you really may want something different. Maybe this: http://www.keil.com/appnotes/docs/apnt_180.asp
For general hex (and other format) file manipulation, see http://srecord.sourceforge.net