Location>code7788 >text

Arm V8 - ADRP Instructions

Popularity:247 ℃/2024-08-04 20:24:07
  • Add/subtract the byte difference from the base address of the page where the current instruction is located and write it to the destination register
    • Byte difference: the number of bytes between the base address of the page and the target address, which is an integer multiple of PAGE_SIZE.
    • The byte difference at this point is the number of immediate operations performed by the instruction
  • This instruction is usually used in conjunction with the add instruction to write a complete address to the destination register.
  • Finally long jumps are realized by br, blr