PIC programming in C using hand compilation
Keywords:hand compilation C compiler tools C language
Developing programs in C is faster and easier than in assembly language, yet most very small processor programs are written in assembly language. The reasons are either the lack of a C compiler or because the inefficiencies of the compiled code are unacceptable for the project. The techniques I present here show how to exploit C and high-end C compiler tools to essentially develop assembly programs for any microcontroller. You could say that these techniques show how to comment assembly programs in C, gaining syntax checking, source code browser capability, and function testing in the process. Having the code in C also provides greater portability, especially if it is to be ported onto a microcontroller with an adequate C compiler.
View the PDF document for more information.
Visit Asia Webinars to learn about the latest in technology and get practical design tips.