Software used:Keil.
Microcontroller:Atmel AT89S52(8051)
If i write a program in asm, create hex file and program it to the 8051, it works fine.
But if a write my code in C (I've tried many codes, from books, websites, self, etc) and program the 8051, it doesnt work.
Please help out as i need to write my code in C.
Microcontroller:Atmel AT89S52(8051)
If i write a program in asm, create hex file and program it to the 8051, it works fine.
But if a write my code in C (I've tried many codes, from books, websites, self, etc) and program the 8051, it doesnt work.
Please help out as i need to write my code in C.