Calling conventions

Created Tuesday 09 July 2024


(Reference page, not a blog post.)


linux x86-64: https://en.wikipedia.org/wiki/X86_calling_conventions#System_V_AMD64_ABI

linux x86-64 syscall (`syscall`):


linux arm64:

linux arm64 syscall (`svc #0`):


riscv: https://riscv.org/wp-content/uploads/2015/01/riscv-calling.pdf

linux riscv syscall (`ecall`):