取出高8位,然后右移8位,再取出低8位,然后左移8位,再把它们相加就可以了,代码:include<stdio.h>unsigned short MyConvert(unsigned short sval){return ((sval&0x00ff)<<8) + ((sval&0xff00)>>8);}int main(){unsigned short sval = 0xabcd;printf("%d,0x%X\n", sval, sval);...