The MPLAB® C Compiler for PIC18 MCUs (also known as MPLAB C18) is a full-featured ANSI compliant C compiler for the PIC18 family of PICmicro® 8-bit MCUs. MPLAB C is a 32-bit Windows® console application as well as a fully integrated component of Microchip’s MPLAB Integrated Development Environment (IDE), allowing source level debugging with MPLAB’s software and hardware debug engines.
Projects, compiler switches and linker customizations can be controlled completely within MPLAB IDE to provide a full graphical front end for this powerful compiler. Text errors in source code and breakpoints instantly switch to corresponding lines in the proper file, and watch windows show data structures with defined data types, including floating point, arrays and structures.
ANSI '89 compatibility
Integration with the MPLAB IDE for easy-to-use project management and source-level debugging
Generation of relocatable object modules for enhanced code reuse
Compatibility with object modules generated by the MPASM assembler, allowing complete freedom in mixing assembly and C programming in a single project
Transparent read/write access to external memory
Strong support for inline assembly when total control is absolutely necessary
Efficient code generator engine with multi-level optimization
Extensive library support, including PWM, SPI, I2C, UART, USART, string manipulation and math libraries
Full user-level control over data and code memory allocation
Supports both a small (16-bit pointers) and a large (24-bit pointers) memory model for efficient use of memory
MPLIB allows easy use of included libraries and for user created libraries