Hello frenz.. I am in need of some website for some tutorial regarding how to program an 89C51 IC.
Note : I am just a beginner.So i need in detail right from basic.
Thanks in advance.
Start here, and I mean READ it thoroughly, entirely (don't get bored - it will help you with homework in the future):
The documents commonly referred to as "the bible" for the 8051 are:
www.semiconductors.philips.com/.../80C51_FAM_ARCH_1.pdf www.semiconductors.philips.com/.../80C51_FAM_PROG_GUIDE_1.pdf www.semiconductors.philips.com/.../80C51_FAM_HARDWARE_1.pdf
AFTER you have read and understood it all, try here: www.kmitl.ac.th/.../
I agree with Tamir's recommendations plus I suggest that you review the tutorials at http://www.8052.com Bradford
http://www.keil.com/books/8051books.asp
hello sir i have 8 bit data which is coming from ADC0808 this is taken into the AT89c51 micro controller via port P0 now i want to transmit this serially so i have to place data into SBUF (for this please send the C code)....
and after that i received some data serially into SBUF now i ahave to show this data on port P2( for this please send the C code)
i used this code:
,pre.SBUF=P0 /// to transfer port dat into SBUF P2=SBUF // to transfer SBUF data into port 2,.pre.
but it is not working
No, it is you that is not working!
The first bit of work that you need to do is to study the links already given in this thread - without that, you won't understand any code that anyone might post.
See also the additional links in reply to your duplicate post:
http://www.keil.com/forum/docs/thread13839.asp
Jumping into other peoples threads is called "hijacking" and is considered rude. Normally not a good way to get any answers!