aboutsummaryrefslogblamecommitdiff
path: root/lib/arch/x86_64/README.md
blob: f57384330468f2eb97705457cbf8321cc1796aa7 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                            
# SystemV AMD64 ABI

- Integer/pointer arguments via `rdi`, `rsi`, `rdx`, `rcx`, `r8`, `r9`
- Integer/pointer return values via `rax`
- Callee saved registers `rbx`,  `rbp`, `r12``r15`

## Reference
- [johannst x86_64 notes](https://johannst.github.io/notes/arch/x86_64.html)