慕容708150
short foo(char a_8,char b_8) { short a_16=a_8,b_16=b_8; short a=0,b=0,result; for(short i=0,mask=1;i<8;i++){
a+=(a_16&mask)<<i;
b+=(b_16&mask)<<i; printf("%d,%d\n",a_16&mask,a_16);
mask<<=1;
}
result=a<<1+b; return result;}