>>392
少し強引ですけど

short d=-300;
unsigned char *p = (unsigned char*)&d;
printf("%02x ",*p);
printf("%02x ",*(p+1));