I just begin to study ARM assembly language, and am not clear about how to use MOV to transfer an immediate number into a register.
From both the ARM reference manual
If you want to move 0xffffffff to a register you can always do:
MOV R0, #-1
because 0xffffffff is the twos-complement representation of -1