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

ready made c-function

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.

Parents
  • "You do have a good 'C' textbook to start with, don't you...?"

    "yea i do have, but ... they simply states wat o/p on monitor u ill have when u use them.

    Please, stop the SMS abbreviations - is it too much effort to write "you" in full?

    Anyhow, I hope your textbook doesn't really say that printf et al write to the monitor.

    Hopefully, your text book says that printf et al write to stdout - and explains that this may or may not happen to be the monitor screen on your particular system...

    The Keil Manual clearly states how the Keil implementation of printf produces its output:
    http://www.keil.com/support/man/docs/c51/c51_printf.htm
    (see the Notes)

Reply
  • "You do have a good 'C' textbook to start with, don't you...?"

    "yea i do have, but ... they simply states wat o/p on monitor u ill have when u use them.

    Please, stop the SMS abbreviations - is it too much effort to write "you" in full?

    Anyhow, I hope your textbook doesn't really say that printf et al write to the monitor.

    Hopefully, your text book says that printf et al write to stdout - and explains that this may or may not happen to be the monitor screen on your particular system...

    The Keil Manual clearly states how the Keil implementation of printf produces its output:
    http://www.keil.com/support/man/docs/c51/c51_printf.htm
    (see the Notes)

Children