I was trying to implement division by 10 in arm assembly. I followed the method mentioned in the first answer to the question at
[ARM DIVISION HOW TO DO IT?](https://stackoverflow.com/questions/19844575/arm-division-how-to-do-it)

This is my code

```
MOV     r2, #10         
LDR     r3,=0x1999999A   ; 1999999A == (2^32 / 10) + 1
UMULL   r9,r3,r5,r3    ;divide an integer value in r5 by 10   
MOV     r6, r9,LSR r2  ; r6 has the quotient

```

But this code is not giving the correct result.For example, If I give 0x0000000B in r5, after these steps value in r6 is 0x00066666.

Am I doing anything wrong?