adr
Form PC-relative Address
ADR <Xd>, <label>
Calculates the address of a label (PC +/- 1MB range).
Details
The Form PC-relative Address instruction calculates the address of a label (PC +/- 1MB range).
Pseudocode Operation
Xd ← label + SRC2
// Flags affected: N, Z, C, V
Example
ADR x0, label
Encoding
Binary Layout
0
immlo
10000
immhi
Rd
Operands
-
Xd
Destination 64-bit integer register -
label
Label