title: How can I get the value of the least significant bit in a number?
body: <p>I'm working on a programming project and one of things I need to do is write a function that returns a mask that marks the value of the least significant 1 bit.  Any ideas on how I can determine the value using bitwise operators?</p>
  
  <pre><code>ex: 
  0000 0000 0000 0000 0000 0000 0110 0000 = 96
  What can I do with the # 96 to turn it into:
  0000 0000 0000 0000 0000 0000 0010 0000 = 32
  </code></pre>
  
  <p>I've been slamming my head against the wall for hours trying to figure this out any help would be greatly appreciated!</p>