Microchip Technology SW006022-2N Data Sheet
MPLAB
®
XC16 C COMPILER
USER’S GUIDE
2012 Microchip Technology Inc.
DS52071B-page 3
Table of Contents
1.3.1 ANSI C Standard ....................................................................................... 17
1.3.2 Optimization .............................................................................................. 17
1.3.3 ANSI Standard Library Support ................................................................. 18
1.3.4 Flexible Memory Models ............................................................................ 18
1.3.5 Attributes and Qualifiers ............................................................................ 18
1.3.6 Compiler Driver ......................................................................................... 18
1.3.7 Documentation .......................................................................................... 18
1.3.2 Optimization .............................................................................................. 17
1.3.3 ANSI Standard Library Support ................................................................. 18
1.3.4 Flexible Memory Models ............................................................................ 18
1.3.5 Attributes and Qualifiers ............................................................................ 18
1.3.6 Compiler Driver ......................................................................................... 18
1.3.7 Documentation .......................................................................................... 18
2.2.1 The ANSI Standard ................................................................................... 22
2.2.2 The Common C Interface .......................................................................... 23
2.2.2 The Common C Interface .......................................................................... 23
2.3 Using the CCI ............................................................................................... 24
2.4 ANSI Standard Refinement .......................................................................... 25
2.4 ANSI Standard Refinement .......................................................................... 25
2.4.1 Source File Encoding ................................................................................ 25
2.4.2 The Prototype for main .............................................................................. 25
2.4.3 Header File Specification .......................................................................... 25
2.4.4 Include Search Paths ................................................................................ 26
2.4.5 The number of Significant Initial Characters in an Identifier ...................... 27
2.4.6 Sizes of Types ........................................................................................... 27
2.4.7 Plain char Types ........................................................................................ 28
2.4.8 Signed Integer Representation .................................................................. 28
2.4.9 Integer conversion ..................................................................................... 29
2.4.10 Bit-wise Operations on Signed Values .................................................... 29
2.4.11 Right-shifting Signed Values ................................................................... 29
2.4.12 Conversion of Union Member Accessed Using Member
2.4.2 The Prototype for main .............................................................................. 25
2.4.3 Header File Specification .......................................................................... 25
2.4.4 Include Search Paths ................................................................................ 26
2.4.5 The number of Significant Initial Characters in an Identifier ...................... 27
2.4.6 Sizes of Types ........................................................................................... 27
2.4.7 Plain char Types ........................................................................................ 28
2.4.8 Signed Integer Representation .................................................................. 28
2.4.9 Integer conversion ..................................................................................... 29
2.4.10 Bit-wise Operations on Signed Values .................................................... 29
2.4.11 Right-shifting Signed Values ................................................................... 29
2.4.12 Conversion of Union Member Accessed Using Member
2.4.13 Default Bit-field int Type .......................................................................... 30
2.4.14 Bit-fields Straddling a Storage Unit Boundary ......................................... 31
2.4.15 The Allocation Order of Bits-field ............................................................. 31
2.4.16 The NULL macro ..................................................................................... 32
2.4.17 Floating-point sizes ................................................................................. 32
2.4.14 Bit-fields Straddling a Storage Unit Boundary ......................................... 31
2.4.15 The Allocation Order of Bits-field ............................................................. 31
2.4.16 The NULL macro ..................................................................................... 32
2.4.17 Floating-point sizes ................................................................................. 32