title: How to shift bytes in ARM assembly
body: <p>Say I have the following hex values stored in registers;</p>
  
  <p>r1 = #0x1</p>
  
  <p>r2 = #0x2</p>
  
  <p>r3 = #0x3</p>
  
  <p>r4 = #0xA</p>
  
  <p>And I want to store #0x123A in r0.</p>
  
  <p>Is there a way of shifting byte values similar to shifting bits with LSL/LSR so that I could AND each register (r1-r4) with a mask and then shift the bytes into correct position in r0?</p>