adr

Form PC-relative Address (Thumb)

ADR <Rd>, <label>

Adds an immediate value to the PC (Thumb).

Details

The Form PC-relative Address instruction adds an immediate value to the PC (Thumb).

Pseudocode Operation

Rd ← label + SRC2
// Flags affected: N, Z, C, V

Example

ADR r0, label

Encoding

Binary Layout
10100
Rd
imm8
 
Format Thumb Data Proc
Opcode 0xA000
Extension T32 (Thumb)

Operands

  • Rd
    Destination general-purpose register
  • label
    Label