In arm assembly code, I am seeing the below line where "=" is used. what exactly this operator is used in arm.
ldr r0, =CONSTANT
what constant we can use, like any address or a variable which holds the address or a value?
shall i use it like
ldr r0, =0x5 (5 is a value)
or
ldr r0, =0x400000 (where 0x400000 is an address)
or
ldr r0, =ADDR_PTR (where ADDR_PTR is a variable hoding a address)
Is all the above things correct or i am understanding something wrong here.