ldr

Load Register (Literal)

LDR <Wt>, <label>

Loads a word from a PC-relative address.

Details

The Load Register instruction loads a word from a PC-relative address.

Pseudocode Operation

Wt ← Memory[address]

Example

LDR w3, label

Encoding

Binary Layout
00011000
imm19
Rt
 
Format Load Literal
Opcode 0x18000000
Extension Base

Operands

  • Wt
    Transfer 32-bit integer register (load/store)
  • label
    Label