adr

Form PC-relative Address (A32)

ADR<c> <Rd>, <label>

Adds an immediate value to the PC register.

Details

The Form PC-relative Address instruction adds an immediate value to the PC register.

Pseudocode Operation

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

Example

ADR r0, label

Encoding

Binary Layout
cond
00
1
0100
0
1111
Rd
imm12
 
Format Data Proc
Opcode 0x028F0000
Extension A32 (Base)

Operands

  • Rd
    Destination general-purpose register
  • label
    Label