SLAU132V October 2004 – February 2020
The CODE_ALIGN pragma aligns func along the specified alignment. The alignment constant must be a power of 2. The CODE_ALIGN pragma is useful if you have functions that you want to start at a certain boundary.
The CODE_ALIGN pragma has the same effect as using the GCC-style aligned function attribute. See Section 5.17.2.
The syntax of the pragma in C is:
#pragma CODE_ALIGN ( func, constant ) |
The syntax of the pragma in C++ is:
#pragma CODE_ALIGN ( constant ) |