2.6.4.5.2 Operation

LDR loads a register with a value from a PC-relative memory address. The memory address is specified by a label or by an offset from the PC.

The value to load or store can be a byte, halfword, or word. For load instructions, bytes and halfwords can either be signed or unsigned. See 2.6.3.5 Address Alignment.

label must be within a limited range of the current instruction. The following table shows the possible offsets between label and the PC.

Table 2-26. Offset Ranges
Instruction typeOffset range
Word, halfword, signed halfword, byte, signed byte-4095 to 4095
Two words-1020 to 1020
Note: You might have to use the .W suffix to get the maximum offset range. See 2.6.3.8 Instruction Width Selection.