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.

我用long int 型采集了ad输出的24位有符号二进制补码数据,问题如下



1.24位的二进制补码第24位为符号位,但我用的long int 形第32位为符号位,用ccs中的数据watch窗口,转换成十进制数据观察是不是不能匹配,因为符号位的位置的不同,那该如何观察数据。

2目前内存是小端序,高位存在低地址,地位存在高地址,导致显示出错,能否将其变成大段序的显示方式。