Datasheet

dsPIC30F
DS70043F-page 46 © 2005 Microchip Technology Inc.
11.5 MPLAB C30 Compiler/Linker/
Librarian
The Microchip Technology MPLAB C30 provides C
language support for the dsPIC30F family. This C
compiler is a fully ANSI compliant product with
standard libraries. It is highly optimizing for the
dsPIC30F family and takes advantage of many
dsPIC30F architecture specific features to help you
generate very efficient software code. Figure 11-3
illustrates the code size efficiency relative to several
competitors.
MPLAB C30 also provides extensions that allow for
excellent support of the hardware, such as interrupts
and peripherals. It is fully integrated with the MPLAB
IDE for high level, source debugging.
The MPLAB C30 has these characteristics:
16-bit native data types
Efficient use of register based, 3-operand
instructions
Complex addressing modes
Efficient multi-bit shift operations
Efficient signed/unsigned comparisons
MPLAB C30 comes complete with its own assembler,
linker and librarian. These allow mixed-mode C and
assembly programs and link the resulting object files
into a single executable file. The compiler is sold
separately. The assembler, linker and librarian are
available for free with MPLAB C30.
MPLAB C30 also includes the Math Library, Peripheral
Library, DSP Library and standard C libraries.
FIGURE 11-3: RELATIVE CODE SIZE (IN BYTES)
16-bit Applications (~ 40KB code)
MPLAB C30
v1.20
(Leading Competitors)
AEDCB
100%
159%
155%
154%
32-bit Applications (~ 50KB code)
MPLAB C30
v1.20
(Leading Competitors)
AEDCB
100%
221%
190%
157%
Relative Code Size
138%
115%115%
114%