预处理、const、static与sizeof-用宏定义得到一个字的高位和低位字节 1:代码如下: #define WORD_LO(XXX) ((byte) (word)(XXX) & 255) #define WORD_HI(XXX) ((byte) (word)(XXX) >> 8)