i am using C51 compiler for my project.i downloaded C51 compiler from u'r web.i have a doubt that how to write programs for atmel89052 microcontroller i.e, the codes in writing programs.for eg.in calling tcon or any port how can i use the words either TCON or tcon.
thanks.
Have you ever considered taking a course in general C programming, reading the technical documentation for the C51 compiler, studying example programs supplied with the compiler, and reading the 8051 documentation, not to speak of the chip datasheets?
Example programs are in the Keil\C51\examples folder on your PC;
Other support materials - including examples, application notes, the Knowledge base, and tool Manuals - can be found by clicking on the 'Support' link.
There's a book list here: http://www.keil.com/books/8051books.asp And another here: www.8052.com/books.phtml
And with reviews here: accu.org/.../book_reviews
See also: www.mcu-memory.com/.../THE_FINAL_WORD_ON_THE_8051.pdf (1.5M download, very slow)
The fundamental reference document for the 8051 architecture is the so-called "bible" for the 8051:
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
www.mcu-memory.com/.../THE_FINAL_WORD_ON_THE_8051.pdf
It appears that this link may be broken, or that server just can't cope with a 1.5M download :-(
You could try googling for "Final Word 8051" to see if you can find it anywhere else with a better connection...
This is a website in China.I checked it and make sure that the link has been moved by the webmaster.So the OP has to google.
View all questions in Keil forum