I'm new to ARM assembly. I'm trying to compare with number 1200 and register r1. So I tried :
mov r2, #1210
cmp r2, r1
but it does not work. I'm doing this programming in Raspberry pi 3. I tried :
cmp #1210, r1
but it does not work too. How can I solve this? And, if r6's address is 0x00010000 and assembly code is:
ldr r10, r6, #8
is it same with code below? if not, how can I change code without using r6? thanks.
ldr r10, #0x00010008