Question about uint8 array align on 5744

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question about uint8 array align on 5744

426 Views
liujinhang
Contributor III

hi,
i defined an array with type of uint8, and i found it is always alignning on 4 bytes. According to my idea, the array type
is uint8, why not aligned by 1 byte?
PS:i used Greenhill compiler and the MCU is 5744P.
i did not found any description about array alignning mechanism in EABI and Greenhills UM.
thanks very much.

0 Kudos
0 Replies