Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

MPLAB
®
XC16 C COMPILER
USERS GUIDE
2012-2013 Microchip Technology Inc. DS50002071C-page 3
Table of Contents
Preface ......................................................................................................................... 11
Chapter 1. Compiler Overview
1.1 Introduction ................................................................................................... 15
1.2 Device Description ....................................................................................... 15
1.3 Compiler Description and Documentation .................................................... 15
1.3.1 ANSI C Standard ....................................................................................... 15
1.3.2 Optimization .............................................................................................. 16
1.3.3 ANSI Standard Library Support ................................................................. 16
1.3.4 Flexible Memory Models ............................................................................ 16
1.3.5 Attributes and Qualifiers ............................................................................ 16
1.3.6 Compiler Driver ......................................................................................... 16
1.3.7 Documentation .......................................................................................... 17
1.4 Compiler and Other Development Tools ...................................................... 17
Chapter 2. Common C Interface
2.1 Introduction ................................................................................................... 19
2.2 Background: The Desire for Portable Code ................................................. 19
2.2.1 The ANSI Standard ................................................................................... 20
2.2.2 The Common C Interface .......................................................................... 21
2.3 Using the CCI ............................................................................................... 22
2.4 ANSI Standard Refinement .......................................................................... 23
2.4.1 Source File Encoding ................................................................................ 23
2.4.2 The Prototype for main .............................................................................. 23
2.4.3 Header File Specification .......................................................................... 23
2.4.4 Include Search Paths ................................................................................ 24
2.4.5 The number of Significant Initial Characters in an Identifier ...................... 25
2.4.6 Sizes of Types ........................................................................................... 25
2.4.7 Plain char Types ........................................................................................ 25
2.4.8 Signed Integer Representation .................................................................. 26
2.4.9 Integer conversion ..................................................................................... 26
2.4.10 Bit-wise Operations on Signed Values .................................................... 27
2.4.11 Right-shifting Signed Values ................................................................... 27
2.4.12 Conversion of Union Member Accessed Using Member With Different Type
28
2.4.13 Default Bit-field int Type .......................................................................... 28
2.4.14 Bit-fields Straddling a Storage Unit Boundary ......................................... 29
2.4.15 The Allocation Order of Bits-field ............................................................. 29
2.4.16 The NULL macro ..................................................................................... 30
2.4.17 Floating-point sizes ................................................................................. 30

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh