hello all, i am new for keil. i want to start all my 8051 programing in C. I want to know, what actually gets converted into assembly laguage when i use ready made c-function like printf(), scanf(), serinit(), getch(), putch(), getchr(), putchr(), etc.... if any one can help pls give rply..... any e-book or soft material or any links on this topic will be highly appreciated.
Actually, nothing gets converted to assembler!
These are Library files - they are supplied to you already in Object (compiled) form. The Linker simply extracts them from the Library, and links them with your own code.
Take a look at the diagram here: http://www.keil.com/product/devproc.asp?t=c51&h=1
"any e-book or soft material or any links on this topic will be highly appreciated"
You do have a good 'C' textbook to start with, don't you...?
Lots more booklists and links here: www.8052.com/.../read.phtml
yea i do have, but they do not give information on how these functions ill be interpretated by keil type compiler, they simply states wat o/p on monitor u ill have when u use them.
wat actually i want to know is that, when i use this functions, wat actually it configure in 8051 SFR, so on the basis of this i can configure my hardware.
and whether these function are costumizable to fullfill my hardware needs.
"when i use this functions, wat actually it configure in 8051 SFR, so on the basis of this i can configure my hardware."
You need to refer to the appropriate reference Manual for the compiler that you're using; in Keil's case, it is:
http://www.keil.com/support/man/docs/c51/c51_library.htm
"whether these function are costumizable to fullfill my hardware needs"
again, see the Library reference in the Manual; eg,
http://www.keil.com/support/man/docs/c51/c51_lib_source.htm
View all questions in Keil forum