# Linux Kernel Module Cheat

#### 30.4.5. ARM ADR instruction

Similar rationale to the ARM LDR pseudo-instruction, allowing to easily store a PC-relative reachable address into a register in one go, to overcome the 4-byte fixed instruction size.

Examples:

- userland/arch/arm/adr.S

- userland/arch/aarch64/adr.S

- userland/arch/aarch64/adrp.S

More details: https://stackoverflow.com/questions/41906688/what-are-the-semantics-of-adrp-and-adrl-instructions-in-arm-assembly/54042899#54042899

- ARM ADRL instruction