To program the C166 mcu, 'memtool' software can be used to do the job... How to program the C51 mcu???
All of the FLASH programming utilities that I'm aware of are listed at: http://www.keil.com/flash/utilities.htm If there are others, please let me know. Jon