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.

关于C66 对齐对齐的一个问题



 我使用_amem8_const();从指针指向的一个数组中读取数据,但是结果不对;如果使用_mem8_const()读取数据,则结果正确。

相关代码如下:

 const UInt8  *P = a + i;//a为外部传进来的一个const UInt8指针   Src = _mem8_const(&P[j]);

请问这里如何能使P对齐,谢谢