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

An introductory book to learn C for the 8051

I am reading "Patterns for time triggered embedded systems" of Michael J. Pont but I realized that I have a lack of C language knowledge. Could you please suggest me wich one among the two books listed below is the best choice?

- C and the 8051 Thomas Schultz

- Microcontroller projects in C for the
8051 family. Dogan Ibrahim

Thank you in advance

Francesco Fontana

Parents Reply Children
  • Kochan is about ANSI C for the PC.
    However, learning basic C on the '51 is an uphill battle. I suggest to everyone learn C on the PC, THEN start doing C on the '51.

    If you do your learning of the basics on the '51, you will, for every step have to compile, link, download, load HyperTerminal or whatever. On the PC click and see. The major difference between C on the '51 and PC C is I/O and that has nothing to do with learning C.

    Erik

  • "please tell me if yor favorite book is about ansi c only or ansi c for the 8051?"

    The ANSI 'C' language definition is entirely target-independent.

    Any target-dependent features will also be specific to a particular compiler, and the ANSI standard requires that the compiler provides documentation for these features.

    Hence I would agree with Erik: learn the language basics on a PC or similar first, then get to grips with the specific Keil (or whatever) implementation for the 8051 (or whatever).

    You didn't say whether you are already familiar with the 8051 itself?