uint16ToInt16 function

int uint16ToInt16(
  1. int d
)

Binary conversion of a uint16 to an int16. This is equivalent in C to typecasting an unsigned short to a short.

Implementation

int uint16ToInt16(int d) {
  __uint16[0] = d;
  return __uint16ToInt16[0];
}