07.04.2013 Views

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-fpack-struct ...................................................... 58<br />

-fpcc-struct-return ............................................. 58<br />

-fshort-enums.................................................... 58<br />

-fverbose-asm................................................... 58<br />

-fvolatile ............................................................ 58<br />

-fvolatile-global.................................................. 58<br />

-fvolatile-static................................................... 58<br />

Code Size, Reduce .......................................35, 46, 47<br />

Coding ISR’s .......................................................... 101<br />

COFF ...................................................... 8, 61, 92, 208<br />

Comm<strong>and</strong> Line Options ........................................... 33<br />

Comm<strong>and</strong>-Line <strong>Compiler</strong> ......................................... 33<br />

Comm<strong>and</strong>-Line Options ........................................... 34<br />

Comm<strong>and</strong>-Line Simulator .......................................8, 9<br />

Comments...........................................................39, 52<br />

Common Subexpression Elimination ...... 22, 48, 49, 50<br />

Common Subexpressions........................................ 50<br />

<strong>Compiler</strong>..................................................................... 8<br />

Comm<strong>and</strong>-Line ................................................. 33<br />

Driver ............................................. 8, 9, 33, 56, 61<br />

Overview............................................................. 7<br />

<strong>Compiler</strong>-Managed Resources .............................. 207<br />

Compiling Multiple Files ........................................... 61<br />

Complex<br />

Data Types ....................................................... 29<br />

Floating Types .................................................. 29<br />

Integer Types.................................................... 29<br />

Numbers ........................................................... 29<br />

complex.................................................................... 29<br />

Conditional Expression ............................................ 31<br />

Conditionals with Omitted Oper<strong>and</strong>s........................ 31<br />

Configuration Bits Setup .......................................... 95<br />

const Attribute .......................................................... 22<br />

Constants<br />

Binary................................................................ 32<br />

Predefined .................................................60, 211<br />

String .............................................................. 205<br />

CORCON ......................................................64, 91, 92<br />

Customer Notification Service.................................... 6<br />

Customer Support...................................................... 6<br />

D<br />

-D ........................................................................52, 54<br />

Data Formats ......................................................... 204<br />

Data Memory Allocation........................................... 95<br />

Data Memory Space .....................................35, 36, 72<br />

Data Memory Space, Near....................................... 14<br />

Data Representation ................................................ 79<br />

Data Type ...........................................................14, 79<br />

Complex............................................................ 29<br />

Floating Point.................................................... 80<br />

Integer............................................................... 79<br />

Pointers............................................................. 80<br />

-dD ........................................................................... 52<br />

Debugging In<strong>for</strong>mation............................................. 46<br />

Debugging Options .................................................. 46<br />

-g....................................................................... 46<br />

-Q...................................................................... 46<br />

-save-temps ...................................................... 46<br />

Declarators............................................................. 134<br />

Defining Global Register Variables .......................... 27<br />

Index<br />

deprecated Attribute......................................13, 22, 44<br />

Development Tools .................................................... 8<br />

Device Support Files ................................................ 91<br />

Diagnostics............................................................. 163<br />

Differences Between 16-Bit Device C <strong>and</strong> ANSI C .. 11<br />

Differences Between <strong>Compiler</strong>s............................. 203<br />

Directories .....................................................52, 53, 54<br />

Directory Search Options ......................................... 56<br />

-B ................................................................ 56, 59<br />

-specs= ............................................................. 56<br />

-dM ........................................................................... 52<br />

-dN ........................................................................... 52<br />

Documentation<br />

Conventions ........................................................ 3<br />

Layout ................................................................. 2<br />

double ............................................. 58, 73, 75, 80, 204<br />

Double-Word Integers .............................................. 29<br />

<strong>dsPIC</strong> DSC C <strong>Compiler</strong>.............................................. 7<br />

<strong>dsPIC</strong> DSC-Specific Options.................................... 35<br />

<strong>dsPIC</strong>-Specific Options<br />

-mconst-in-code ................................................ 35<br />

-mconst-in-data ................................................. 35<br />

-mcpu ................................................................ 35<br />

-merrata ............................................................ 35<br />

-mlarge-code..................................................... 35<br />

-mlarge-data...................................................... 35<br />

-mno-isr-warn.................................................... 36<br />

-mno-pa............................................................. 35<br />

-momf=.............................................................. 36<br />

-mpa.................................................................. 35<br />

-mpa=................................................................ 35<br />

-msmall-code .................................................... 36<br />

-msmall-data ..................................................... 36<br />

-msmall-scalar................................................... 36<br />

-msmart-io......................................................... 36<br />

-mtext=.............................................................. 36<br />

DWARF .................................................................... 36<br />

E<br />

-E....................................................... 37, 52, 53, 54, 55<br />

EEDATA............................................................. 95, 96<br />

EEPROM, data......................................................... 95<br />

ELF....................................................................... 8, 36<br />

Enabling/Disabling Interrupts ................................. 113<br />

endian ...................................................................... 79<br />

Enumerations ......................................................... 134<br />

Environment ........................................................... 130<br />

Environment Variables ............................................. 59<br />

PIC30_C_INCLUDE_PATH .............................. 59<br />

PIC30_COMPILER_PATH................................ 59<br />

PIC30_EXEC_PREFIX ..................................... 59<br />

PIC30_LIBRARY_ PATH .................................. 59<br />

PIC30_OMF ...................................................... 59<br />

TMPDIR ............................................................ 59<br />

errno....................................................................... 138<br />

Error Control Options<br />

-pedantic-errors................................................. 39<br />

-Werror.............................................................. 44<br />

-Werror-implicit-function-declaration ................. 39<br />

Errors ..................................................................... 163<br />

Escape Sequences ................................................ 131<br />

© 2008 <strong>Microchip</strong> Technology Inc. DS51284H-page 231

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!