Skip to content

Instantly share code, notes, and snippets.

@lydonchandra
Created February 2, 2014 21:30
Show Gist options
  • Save lydonchandra/8775252 to your computer and use it in GitHub Desktop.
Save lydonchandra/8775252 to your computer and use it in GitHub Desktop.
ARM64 Registers
Table 2, General purpose registers and AAPCS64 usage
Register Special Role in the procedure call standard
SP The Stack Pointer.
r30 LR The Link Register.
r29 FP The Frame Pointer
r19...r28 Callee-saved registers
r18 The Platform Register, if needed; otherwise a temporary register. See notes.
r17 IP1 The second intra-procedure-call temporary register (can be used by call veneers and PLT code); at other times may be used as a temporary register.
r16 IP0 The first intra-procedure-call scratch register (can be used by call veneers and PLT code); at other times may be used as a temporary register.
r9...r15 Temporary registers
r8 Indirect result location register
r0...r7 Parameter/result registers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment