code: function norm16(v) {
      v = parseInt(v, 16);
      return size == 2 ? v :         // 16 bit
             size == 1 ? v << 4 :    // 8 bit
             v >> (4 * (size - 2));  // 24 or 32 bit
    }
docs: Normalize to 16 bits.