On Mon, 2015-12-07 at 10:51 +0000, Edward Nevill wrote:
Hi,
Does anyone know how I do
adrp x0, dest & ~0xfff add x0, x0, dest & 0xfff
in aarch64 assembler?
Guessing here from experience with 32-bit ARM...
adr x0, dest
and the assembler with generate the instructions you're asking for, or a PC relative address instruction, or anything else it can to give the address of dest.