You copied the Doc URL to your clipboard.

3.4.4. LDR, PC-relative

Load register (literal) from memory.

Syntax

LDR Rt, label

where:

Rt

Is the register to load.

label

Is a PC-relative expression. See PC‑relative expressions.

Operation

Loads the register specified by Rt from the word in memory specified by label.

Restrictions

In these instructions, label must be within 1020 bytes of the current PC and word aligned.

Condition flags

These instructions do not change the flags.

Examples

    LDR     R0, LookUpTable   ; Load R0 with a word of data from an address
                              ; labelled as LookUpTable.
    LDR     R3, [PC, #100]    ; Load R3 with memory word at (PC + 100).