How to write a value into the memory location of 8051 microcontroller in C program using KEIL IDE. To enable watchdog timer in AT89S52, in the memory location 0xa6, we need to write 0x1e followed by ox0e1 to activate watchdog timer. I am able to do the same with assembly. How to do it with C Program is the question.
Thank you very much ReneK. It is working in the simulation.