|Non-Confidential||PDF version||ARM DUI0472M|
|Home > Compiler Coding Practices > Compiler storage of data objects by natural byte alignment|
C data types are aligned on specific byte boundaries, depending on their type.
By default, the compiler stores data objects by byte alignment as shown in the following table.
Table 5-9 Compiler storage of data objects by byte alignment
||1||Located at any byte address.|
||2||Located at any address that is evenly divisible by 2.|
||4||Located at an address that is evenly divisible by 4.|
||8||Located at an address that is evenly divisible by 8.|