Compiler User GuidePreface Overview of the Compiler Getting Started with the Compiler Compiler Features Compiler Coding Practices Compiler Diagnostic Messages Using the Inline and Embedded Assemblers of the AR Compiler Command-line Options Language Extensions Compiler-specific Features C and C++ Implementation Details Character sets and identifiers in ARM C and C++ Basic data types in ARM C and C++ Operations on basic data types ARM C and C++ Structures, unions, enumerations, and bitfields in Using the ::operator new function in ARM C++ Tentative arrays in ARM C++ Old-style C parameters in ARM C++ functions Anachronisms in ARM C++ Template instantiation in ARM C++ Namespaces in ARM C++ C++ exception handling in ARM C++ Extern inline functions in ARM C++ C++11 supported features What is Semihosting? Via File Syntax Summary Table of GNU Language Extensions Standard C Implementation Definition Standard C++ Implementation Definition C and C++ Compiler Implementation Limits
Basic data types in ARM C and C++
10.2 Basic data types in ARM C and C++
Describes the basic data types implemented in ARM C and C++:
Size and alignment of basic data types
The following table gives the size and natural alignment of the basic data types.
Table 10-2 Size and alignment of data types
Type alignment varies according to the context:
Integers are represented in two's complement form. The low word of a
Floating-point quantities are stored in IEEE format:
Arrays and pointers
The following statements apply to all pointers to objects in C and C++, except pointers to members:
of your data.