This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Data_align用法疑问。



#pragma DATA_ALIGN(a,1024) Short a[1000]; 上述语句执行完了以后,数组a的首地址会变成1024的整数倍吗?为什么我的不是1024的整数倍? 我多次改变对齐的数字,128,1024等,查看a的首地址都没有任何变化,为什么? 十分着急,求大神指教!!!!