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 115
Chapter 8. Supported Data Types and Variables
8.1 INTRODUCTION
The MPLAB XC16 C Compiler supports a variety of data types and qualifiers (attri-
butes). These data types and variables are discussed here. For information on where
variables are stored in memory, see Chapter 10. Memory Allocation and Access.
Identifiers
Integer Data Types
Floating-Point Data Types
Fixed-Point Data Types
Structures and Unions
Pointer Types
Complex Data Types
Literal Constant Types and Formats
Standard Type Qualifiers
Compiler-Specific type Qualifiers
Variable Attributes
8.2 IDENTIFIERS
A C variable identifier (as well as a function identifier) is a sequence of letters and digits
where the underscore character, _, counts as a letter. Identifiers cannot start with a
digit. Although they may start with an underscore, such identifiers are reserved for the
compilers use and should not be defined by your programs. Such is not the case for
assembly domain identifiers, which often begin with an underscore, see the MPLAB
XC16 Assembler, Linker and Utilities Users Guide (DS52106).
Identifiers are case sensitive, so main is different from Main.
All characters are significant in an identifier, although identifiers longer than 31
characters in length are less portable.
Protego_Release_01_05-Related-OEM-Documentation-MPLAB-XC16-C-Compiler.pdf