The manufacturer supplies computer software for development known as MPLAB, assemblers and C/C++ compilers, and programmer/debugger hardware under the MPLAB and PICKit series. Microchip released their own C compilers, C18 and C30, for the line of 18F 24F and 30/33F processors. Other types of PIC compiler are MPLAB XC8 C Compiler, MPLAB XC16 C Compiler, MPLAB XC32 C Compiler, MikroC Compiler and PIC CCS Compiler
2.4.2 Program Structure
The structure of a C program is a protocol (rules) to the programmer, while writing a C program. The general basic structure of the C program is shown in Figure 2.5.
Figure 2.5: General basic structure of C program
There is no specific format in the writing program. Figure 2.6 shows an example of program structure in C language for PIC microcontroller.
12