SW006012 Microchip Technology, SW006012 Datasheet - Page 64

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
DS51284F-page 58
®
C30 User’s Guide
TABLE 3-15:
-fpack-struct
-fpcc-struct-
-fno-short-double
-fshort-enums
-fverbose-asm
-fno-verbose-asm
-fvolatile
-fvolatile-global
-fvolatile-static
return
Option
CODE GENERATION CONVENTION OPTIONS (CONTINUED)
Pack all structure members together without holes. Usually you
would not want to use this option, since it makes the code
sub-optimal, and the offsets of structure members won’t agree with
system libraries.
The dsPIC
byte boundaries, so care must be taken when using the packed
attribute to avoid runtime addressing errors.
Return short struct and union values in memory like longer
ones, rather than in registers. This convention is less efficient, but
it has the advantage of allowing capability between MPLAB® C30
compiled files and files compiled with other compilers.
Short structures and unions are those whose size and alignment
match that of an integer type.
By default, the compiler uses a double type equivalent to float.
This option makes double equivalent to long double. Mixing
this option across modules can have unexpected results if
modules share double data either directly through argument
passage or indirectly through shared buffer space. Libraries
provided with the product function with either switch setting.
Allocate to an enum type only as many bytes as it needs for the
declared range of possible values. Specifically, the enum type will
be equivalent to the smallest integer type which has enough room.
Put extra commentary information in the generated assembly code
to make it more readable.
-fno-verbose-asm, the default, causes the extra information to
be omitted and is useful when comparing two assembler files.
Consider all memory references through pointers to be volatile.
Consider all memory references to external and global data items
to be volatile. The use of this switch has no effect on static data.
Consider all memory references to static data to be volatile.
®
DSC device requires that words be aligned on even
Definition
© 2007 Microchip Technology Inc.

Related parts for SW006012