title: How exactly can I find the pallindrome of a 32 bit number using ARM assembly?
body: <p>I was trying to find an assembly code to find whether the given number is a palindrome. I got a code online. But I am not able to understand the 'movu' command. Can anyone explain? </p>
  
  <pre><code>mov R0,1044480
  mov R3,0
  mov R4,31
  movu R2,0x0001
  mov R5,0
  andu R1,R0,0xffff
  
  .loop:
  and R3,R2,R1
  lsl R2,R2,1
  lsl R3,R3,R4
  add R5,R5,R3
  sub R4,R4,2
  cmp R4,0
  bgt .loop
  lsr R0,R0,16
  lsr R5,R5,16
  sub R0,R5,R0
  cmp R0,0
  beq .palin
  mov R0,0
  
  b .exit
  
  .palin:
  mov R0,1
  
  .exit:
  </code></pre>