![](https://assets.isu.pub/document-structure/211115043020-683c32f8c33eb652c157dfce560973bf/v1/cadafd437e3926ebdf6c1ccf5d5bec1e.jpeg?width=720&quality=85%2C50)
1 minute read
2.4.2 Program Structure
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
Advertisement
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.