MCU At89c2051 and atmega8a

I AM Muhammad from Pakistan

I wrote Code By Ai Like Deep seek Chatgbt and grok Everything is good i smulat it i run on 8051idl leds are working when i compile it make a hex file it is ok till end but when i burn it in mcu and i setup all the things and connections does not work my mcu not even a single led is on plz where i am doing mistake