|
|
 |
|
Compiler for Microchip
Home Products Embedded Lab Compiler for Microchip
|
|
C2C Plus C-compiler for Microchip and Scenix Microcontrollers
The features supported by the C2C-plus compiler An assembly include file can be specified The start address of the used by the compiler memory can be specified A default interrupt handler can be generated Local C variables can share the same address space C source code can be inserted into the generated assembly file The compiler can produce and consume libraries The code for non called functions can be skipped by the compiler The code for the *, / and % operations can be generated inline or as separate functions A number of built-in functions and variables Built-in RS232 Built-in BCD convertion Built-in delay Code pages Memory banks.
The C2C-plus compiler supports a subset of C programming language which is listed below : If, else, while, for, return, break, continue, extern, switch, case, default.
goto and labels
Char, short, int, long (16-bit and 8-bit unsigned numbers), void
~, ++, —, +, -, <, <=, >, >=, ==, !=, =, !, &, |, ^,&=, |=, ^=, &&, ||, *, /, %, <<, >>, <<=, >>=;
One-dimensional arrays
Const char pointers
Const variables and arrays
Functions with no/one/many parameters and void/char/short return types.
Const char* function parameter
built-in assembler
#include, #define, #undef, #ifdef, #ifndef, #else, #endif. The C2C-plus compiler can run under different platforms.
|
| | |
|
|