#include <stdio.h>
#include <math.h>
#include <stdint.h>
int main(){
unsigned char msbyte =0x7f;
unsigned char lsbyte = 0xff;
int16_t temp=0;
temp = (msbyte<<8) | lsbyte;
printf(" %4x temp %d ", temp
,temp
);
return 0 ;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CiNpbmNsdWRlIDxzdGRpbnQuaD4KaW50IG1haW4oKXsKICB1bnNpZ25lZCBjaGFyIG1zYnl0ZSA9MHg3ZjsKICB1bnNpZ25lZCBjaGFyIGxzYnl0ZSA9IDB4ZmY7CiAgaW50MTZfdCB0ZW1wPTA7CiAgdGVtcCA9IChtc2J5dGU8PDgpIHwgbHNieXRlOwogIHByaW50ZigiICU0eCB0ZW1wICVkICIsIHRlbXAsdGVtcCk7CgogIHJldHVybiAwIDsKCn0K