title: Given 2 16-bit ints, can I interleave those bits to form a single 32 bit int?
body: <p>Whats the proper way about going about this? Lets say I have ABCD and abcd and the output bits should be something like AaBbCcDd.</p>
  
  <pre><code>unsigned int JoinBits(unsigned short a, unsigned short b) { }
  </code></pre>