title: Making sure the leftmost 16 bits are zero using sll and srl only?
body: <p>I am trying to come up with a way to ensure the leftmost 16 bits of a register are zero, without affecting the rightmost 16 bits, using sll and srl only.</p>
  
  <p>I have been playing around with bits for hours now with no success. I was able to ensure the leftmost bits are zero, but I cannot do this without affecting the rightmost bits, using sll/srl only. </p>