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 />

section......................................................... 24, 68<br />

secure ............................................................... 24<br />

shadow...................................................... 25, 101<br />

unused .............................................................. 25<br />

user_init ............................................................ 25<br />

weak.................................................................. 26<br />

Attribute, Variable..................................................... 12<br />

address ............................................................. 12<br />

aligned .............................................................. 13<br />

boot ................................................................... 13<br />

deprecated ........................................................ 13<br />

far................................................................ 14, 67<br />

fillupper ............................................................. 14<br />

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

near............................................................. 14, 67<br />

noload ............................................................... 15<br />

packed .............................................................. 15<br />

persistent .......................................................... 15<br />

reverse .............................................................. 15<br />

section............................................................... 16<br />

secure ............................................................... 16<br />

sfr ...................................................................... 16<br />

space ................................................................ 17<br />

transparent_union ............................................. 18<br />

unordered.......................................................... 18<br />

unused .............................................................. 18<br />

weak.................................................................. 18<br />

auto_psv Space ....................................................... 35<br />

Automatic Variable ........................................41, 43, 70<br />

-aux-info ................................................................... 38<br />

B<br />

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

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

Bit Fields ...................................................38, 134, 209<br />

Bit fields.................................................................. 115<br />

Bit Reversed <strong>and</strong> Modulo Addressing...................... 76<br />

boot Attribute...................................................... 13, 21<br />

Built-In Functions<br />

__builtin_add................................................... 142<br />

__builtin_addab............................................... 142<br />

__builtin_btg.................................................... 143<br />

__builtin_clr..................................................... 143<br />

__builtin_clr_prefect........................................ 144<br />

__builtin_divf ................................................... 145<br />

__builtin_divmodsd ......................................... 145<br />

__builtin_divmodud ......................................... 146<br />

__builtin_divsd ................................................ 146<br />

__builtin_divud ................................................ 146<br />

__builtin_dmaoffset......................................... 147<br />

__builtin_ed..................................................... 147<br />

__builtin_edac................................................. 148<br />

__builtin_fbcl ................................................... 148<br />

__builtin_lac .................................................... 149<br />

__builtin_mac.................................................. 150<br />

__builtin_modsd.............................................. 150<br />

__builtin_modud.............................................. 151<br />

__builtin_movsac ............................................ 151<br />

__builtin_mpy.................................................. 152<br />

__builtin_mpyn................................................ 153<br />

__builtin_msc .................................................. 154<br />

__builtin_mulss ............................................... 154<br />

__builtin_mulsu ............................................... 155<br />

__builtin_mulus ............................................... 155<br />

__builtin_muluu ............................................... 155<br />

__builtin_nop................................................... 156<br />

__builtin_psvoffset .......................................... 156<br />

__builtin_psvpage ........................................... 156<br />

__builtin_readsfr.............................................. 157<br />

__builtin_return_address................................. 157<br />

__builtin_sac ................................................... 157<br />

__builtin_sacr .................................................. 158<br />

__builtin_sftac ................................................. 158<br />

__builtin_subab ............................................... 159<br />

__builtin_tbloffset ............................................ 159<br />

__builtin_tblpage ............................................. 159<br />

__builtin_tblrdh................................................ 160<br />

__builtin_tblrdl ................................................. 160<br />

__builtin_tblwth ............................................... 161<br />

__builtin_tblwtl................................................. 161<br />

__builtin_write_NVM ....................................... 161<br />

__builtin_write_OSCCONH............................. 162<br />

__builtin_write_OSCCONL ............................. 162<br />

__builtin_write_RTCWEN ............................... 162<br />

C<br />

-C.............................................................................. 52<br />

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

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

-ansi .................................................................. 38<br />

-aux-info ............................................................ 38<br />

-ffreest<strong>and</strong>ing .................................................... 38<br />

-fno-asm ............................................................ 38<br />

-fno-builtin ......................................................... 38<br />

-fno-signed-bitfields........................................... 38<br />

-fno-unsigned-bitfields....................................... 38<br />

-fsigned-bitfields ................................................ 38<br />

-fsigned-char ..................................................... 38<br />

-funsigned-bitfields ............................................ 38<br />

-funsigned-char ................................................. 38<br />

-fwritable-strings........................................ 38, 208<br />

-traditional ......................................................... 26<br />

C Heap Usage.......................................................... 72<br />

C Stack Usage ......................................................... 70<br />

C, Mixing with Assembly ........................................ 119<br />

C30_VERSION......................................................... 60<br />

Calling Conventions ............................................... 207<br />

Case Ranges............................................................ 31<br />

Cast .............................................................. 41, 43, 44<br />

char ............................................. 14, 38, 39, 73, 75, 79<br />

Characters.............................................................. 131<br />

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

-fargument-alias ................................................ 56<br />

-fargument-noalias ............................................ 56<br />

-fargument-noalias-global ................................. 56<br />

-fcall-saved........................................................ 57<br />

-fcall-used.......................................................... 57<br />

-ffixed ................................................................ 57<br />

-finstrument-functions........................................ 57<br />

-fno-ident ........................................................... 57<br />

-fno-short-double............................................... 58<br />

-fno-verbose-asm .............................................. 58<br />

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

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

Saved successfully!

Ooh no, something went wrong!