hello...its nice to learn c...i like it....
well u can start with ANSI C by E. balagurusami...
and few other book are there....like
Let Us C by. Yashwant karnetkar...
other book i will give u by link....
You can exercise C on PC.Find a free C compiler and install it on your PC. Learn the basics : Loops, data types... etc. Write simple programs.
Then transfer your skills to PIC. Learn how to control registers by C. There's no difference between writing-reading registers in assembly or in C.
First learn the C basics, u can refer Let us C by yashwant kanitkar and Programming in C by K&R. For programming the embedded systems you need to learn the C internals; refer the web, there are many useful articles which describes efficient ways of C coding especially for 8 bit microcontrollers.
Best of luck and if u face any difficulties feel free to ask for help
FL_KNV
The basic features of the language are just the control program structures .
The IOs dont't belong to the program and are in form of libraries they can be learn later little bt little .But because of that you shoul start writing code real quick .
Onle one thing need particuliar attention "THE POINTERS" .Here is where all the power of the C language is concentrated .But if you program in assembler this should be easy for you . People are afrad of pointers but the truth is that they are simple too. Is just a varibale that contains the address of another variable .. That's it you know pointers NOW. Imagine a train with 100 wagons .you want to kee track of the wagon that carries shoes,well let's say is wagon 34 .. you will store that value in a variable called shoewagon and it will contain the address of the train wagon with the shoes ; shoewagon=34
hello...its nice to learn c...i like it....
well u can start with ANSI C by E. balagurusami...
and few other book are there....like
Let Us C by. Yashwant karnetkar...
other book i will give u by link....
Anyone should better learn it with Borland Turbo C/C++ in real or protected mode, but not under Windows or alike system. You should find a good book, which also intends on PC's internal structure. Because you need to do experiments with PC environment in a low level for learning it well.