aboutsummaryrefslogtreecommitdiff
path: root/lib/arch/x86_64/README.md
blob: f81fc98a59ef48234285a989cddeece328ff49bb (plain) (blame)
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)