我们要使用的例子是在一个高位优先系统上编译PINE。
The example that caught us was compiling PINE on a big-endian system.
big - endian意味着最高位字节存储在最低地址(按高位优先的顺序存储字)。
Big-endian means that the most significant byte has the lowest address (the word is stored big-end-first).
要做的一件事是寻找一个预测范围很大的数字,看一下当读取高位优先和低位优先时到底是什么情况。
One thing to do is look for a number whose range you can predict broadly, and just see what it comes out as when read both big-endian and little-endian.
应用推荐