- supported chips
|Welcome to the CC8E C compiler for the Microchip PIC18 family. The PIC
microcontrollers are popular for cost critical applications. The CC8E C compiler was
designed to enable best possible usage of the limited code and RAM space offered by
PICmicro devices. The priority was not to provide full ANSI C support, but to generate
compact and optimized code.
CC8E can be selected as a tool in MPLAB. MPLAB offers an integrated environment including editor and tool support (compilers, assemblers, simulators, emulators, chip programmers). Compilation errors are easily handled. MPLAB supports point-and-click to go directly to the source line that needs correction. CC8E supports the COD file format used by MPLAB for program debugging. CC8E offers two modes of source file debugging is available: C or assembly mode. Thus, tracing programs in MPLAB can be done using assembly instructions or C statements. MPLAB is free, and can be downloaded from Microchip.
Local variables are supported. The CC8E compiler performs a safe compression by checking the scope of the variables and reusing the RAM locations when possible. The limited RAM space is therefore used efficiently. Interrupt support can be tricky. The CC8E compiler allows every statement to be written in C code.
The inline assembly capabilities allows existing assembly routines to be included in new C applications.
Programming in C gives you the following advantages:
The CC8E compiler was written with code efficieny as the main goal.
Normally, an assembler programmer will not be able to beat the code efficiency of a C programmer using CC8E. CC8E allow low level tuning of the code, which means that the C programmer will finish writing an efficient implementation long before the assembly programmer.