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.

16-Bit C <strong>Compiler</strong> User’s Guide<br />

mode Attribute.......................................................... 14<br />

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

-MP........................................................................... 54<br />

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

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

<strong>MPLAB</strong> C <strong>Compiler</strong> <strong>for</strong> <strong>dsPIC</strong> <strong>DSCs</strong>.......................... 7<br />

<strong>MPLAB</strong> C <strong>Compiler</strong> <strong>for</strong> PIC18 <strong>MCUs</strong>..................... 203<br />

<strong>MPLAB</strong> C <strong>Compiler</strong> <strong>for</strong> <strong>PIC24</strong> <strong>MCUs</strong>......................... 7<br />

<strong>MPLAB</strong> C <strong>Compiler</strong> <strong>for</strong> <strong>PIC24</strong> <strong>MCUs</strong> <strong>and</strong> <strong>dsPIC</strong> <strong>DSCs</strong><br />

7<br />

<strong>MPLAB</strong> C18 ........................................................... 203<br />

<strong>MPLAB</strong> C30 ............................................................... 7<br />

-MQ .......................................................................... 54<br />

-msmall-code.................................................36, 66, 67<br />

-msmall-data..................................................36, 66, 67<br />

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

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

-MT........................................................................... 54<br />

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

N<br />

Near <strong>and</strong> Far Code .................................................. 67<br />

Near <strong>and</strong> Far Data ................................................... 66<br />

near Attribute................................. 14, 23, 67, 122, 205<br />

Near Data Section.................................................... 66<br />

Near Data Space.................................................... 123<br />

Nesting Interrupts................................................... 112<br />

no_instrument_function Attribute........................ 23, 57<br />

-nodefaultlibs............................................................ 55<br />

noload Attribute .................................................. 15, 24<br />

noreturn Attribute ............................................... 24, 44<br />

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

-nostdlib.................................................................... 55<br />

O<br />

-O ............................................................................. 46<br />

-o ........................................................................ 37, 61<br />

-O0 ........................................................................... 46<br />

-O1 ........................................................................... 46<br />

-O2 ..................................................................... 47, 50<br />

-O3 ........................................................................... 47<br />

Object File ........................................... 8, 48, 53, 55, 61<br />

Object Module Format............................................ 208<br />

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

Optimization ....................................................... 9, 208<br />

Optimization Control Options ................................... 46<br />

-falign-functions................................................. 47<br />

-falign-labels...................................................... 47<br />

-falign-loops ...................................................... 47<br />

-fcaller-saves..................................................... 47<br />

-fcse-follow-jumps ............................................. 48<br />

-fcse-skip-blocks ............................................... 48<br />

-fdata-sections .................................................. 48<br />

-fexpensive-optimizations.................................. 48<br />

-f<strong>for</strong>ce-mem....................................................... 50<br />

-ffunction-sections............................................. 48<br />

-fgcse ................................................................ 48<br />

-fgcse-lm ........................................................... 48<br />

-fgcse-sm .......................................................... 48<br />

-finline-functions................................................ 50<br />

-finline-limit........................................................ 50<br />

-fkeep-inline-functions ....................................... 51<br />

-fkeep-static-consts ........................................... 51<br />

-fmove-all-movables.......................................... 48<br />

-fno-defer-pop ................................................... 48<br />

-fno-function-cse ............................................... 51<br />

-fno-inline .......................................................... 51<br />

-fno-peephole .................................................... 48<br />

-fno-peephole2 .................................................. 48<br />

-fomit-frame-pointer........................................... 51<br />

-foptimize-register-move ................................... 48<br />

-foptimize-sibling-calls....................................... 51<br />

-freduce-all-givs................................................. 49<br />

-fregmove .......................................................... 48<br />

-frename-registers............................................. 49<br />

-frerun-cse-after-loop ........................................ 49<br />

-frerun-loop-opt ................................................. 49<br />

-fschedule-insns ................................................ 49<br />

-fschedule-insns2 .............................................. 49<br />

-fstrength-reduce............................................... 49<br />

-fstrict-aliasing ................................................... 49<br />

-fthread-jumps ................................................... 50<br />

-funroll-all-loops................................................. 50<br />

-funroll-loops ..................................................... 50<br />

-O ...................................................................... 46<br />

-O0 .................................................................... 46<br />

-O1 .................................................................... 46<br />

-O2 .................................................................... 47<br />

-O3 .................................................................... 47<br />

-Os .................................................................... 47<br />

Optimization, Loop ............................................. 22, 49<br />

Optimization, Peephole ............................................ 48<br />

Options<br />

Assembling........................................................ 54<br />

C Dialect Control ............................................... 38<br />

Code Generation Conventions.......................... 56<br />

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

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

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

Linking............................................................... 55<br />

Optimization Control.......................................... 46<br />

Output Control................................................... 37<br />

Preprocessor Control ........................................ 51<br />

Warnings <strong>and</strong> Errors Control............................. 39<br />

-Os............................................................................ 47<br />

Output Control Options............................................. 37<br />

-c ....................................................................... 37<br />

-E....................................................................... 37<br />

--help ................................................................. 37<br />

-o ....................................................................... 37<br />

-S....................................................................... 37<br />

-v ....................................................................... 37<br />

-x ....................................................................... 37<br />

P<br />

-P.............................................................................. 54<br />

packed Attribute ................................................. 15, 58<br />

Parameters, Function ............................................... 73<br />

PATH........................................................................ 61<br />

PC .......................................................................... 207<br />

-pedantic............................................................. 39, 44<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!