This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Writing data into data memory location using C Program for 8051 microcontroller in KEIL IDE

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.