Binary conversion of a uint16 to an int16. This is equivalent in C to typecasting an unsigned short to a short.
int uint16ToInt16(int d) { __uint16[0] = d; return __uint16ToInt16[0]; }