ud23
Advanced Member level 3
you need to select the particular controller in compiler while building the hex file.for example if for 89c51 select the device 89c51 if you using keil. and do same for rest of two and try to load the respective hex generated for same device.Yes hex file is same.