title: Get MSB / LSB in register
body: <p>This might seem like a stupid question, but I cant really tell what I'm missing</p>
  
  <p>On ARM 7:</p>
  
  <p>I have a 8 digit number in register 0, say </p>
  
  <pre><code>10110111
  </code></pre>
  
  <p>I want to 'loop' through this and do something with the current bit until the 8 bits are up, but I'm having alot of trouble with this simple issue..</p>
  
  <p>My logic is:</p>
  
  <pre><code>- get MSB / LSB of number in r0
  - shift it to r1
  - lsl / lsr r0
  </code></pre>
  
  <p>But from this logic, I dont know how you would get the MSB / LSB. Could anyone help me out? Or is there a better way of looping through this?</p>
  
  <p>Thank you!</p>