Question about uint8 array align on 5744

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Question about uint8 array align on 5744

759 次查看
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 项奖励
回复
0 回复数