ARM ADRP and ADRL pseudo-instruction
ADRL
is similar to the ADR
instruction, except ADRL
can load a wider range of addresses because it generates two data processing instructions.
- In A32, the
ADRL
pseudo-instruction calculates an offset using two separateADD
orSUB
operations. - In A64, on the other hand,
ADRL
assembles to two instructions, anADRP
followed by anADD
.