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.

DM 8168 DSP上数据 int 类型转换问题



请教一下各位大神:

        目前用的DVRRDK_04.00.00.03 dsp是C674 在此DSP上进行数据转换时遇到了问题。

        比如 unsigned char a[8] = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88};

        int *p  = (int *)(a+2);

        int c =  *p;

        期望的结果应该是: c = 0x66554433; 

        实际结果是:c = 0x44332211;

请问出现这种情况是什么缘故?如何解决此类数据转换的问题?