Quantcast
Channel: ARM Connected Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 3617

Cortex A code / function alignment

$
0
0
Hi ! I am writing assembly code for some ARMv7a and ARMv8a CPU. I know that code has to be 4 bytes aligned, but I saw in several places (uboot/linux) the ".align 4" GCC directive, which will align to 2**4 = 16 bytes. When writing code that will be

Viewing all articles
Browse latest Browse all 3617

Trending Articles