Hi guys,we are facing problem with our AT89c51 programming.We made one development board for that it working properly, if we are using any downloaded Assembly code.If we are writing our own program in keil that compiled properly and created hex files.we burned that into AT89C51, but it not giving proper output,sometimes it giving half of power supply.sometimes there may be some error in delay loop, can you give me code in assembly for making a delay of 2 second. frequency of crystal is 11.0596 MHZ. If you are helping me,that i'll be very helpfully for us.
making a delay of 2 second
This is almost eternity, even for a small microcontroller. Are you sure you are not suffering from processor utilization problems, etc...? You must show us what you did that does not produce the expected result, instead of asking for code that does things you don't fully understand the reasons for.