Thumb Instruction Referenc e
5-42 Copyright © 2000, 2001 ARM Limited. A ll rights reserved. ARM DUI 0068B
To load a program-relative or external address into a register. The address remains
valid regardless of where the linker places the ELF section containing the
LDR
.
Example
LDR r1, =0xfff ; loads 0xfff into r1
LDR r2, =labelname ; loads the address of labelname into r2