ARM A64 LDR指令
Arm Architecture Reference Manual Armv8, for Armv8-A architecture profile
1 LDR (immediate)
Load Register (immediate) loads a word or doubleword from memory and writes it to a register. The address that is used for the load is calculated from a base register and an immediate offset. The Unsigned offset variant scales the immediate offset value by the size of the value accessed before adding it to the base register value.
1.1 Post-index
1.2 Pre-index
1.3 Unsigned offset
2 LDR (literal)
Load Register (literal) calculates an address from the PC value and an immediate offset, loads a word from memory, and writes it to a register.
3 LDR (register)
Load Register (register) calculates an address from a base register value and an offset register value, loads a word from memory, and writes it to a register. The offset register value can optionally be shifted and extended.