16.11 ADR

Form PC-relative address.

Syntax

ADR Xd, label

Where:

Xd
Is the 64-bit name of the general-purpose destination register.
label
Is the program label whose address is to be calculated. Its offset from the address of this instruction, in the range ±1MB.

Usage

Form PC-relative address adds an immediate value to the PC value to form a PC-relative address, and writes the result to the destination register.

Non-ConfidentialPDF file icon PDF versionARM 100069_0608_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.