From 27f66dfd4f0de8623656f38bebcccd91cdc4f182 Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 29 Sep 2020 21:23:57 +0200 Subject: add arm64 README --- lib/arch/arm64/README.md | 9 +++++++++ lib/arch/x86_64/README.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 lib/arch/arm64/README.md (limited to 'lib') diff --git a/lib/arch/arm64/README.md b/lib/arch/arm64/README.md new file mode 100644 index 0000000..9bf85bf --- /dev/null +++ b/lib/arch/arm64/README.md @@ -0,0 +1,9 @@ +# Procedure Call Standard ARM64 + +- Integer/pointer arguments via `x0`-`x7` +- Integer/pointer return values via `x0` +- Callee saved registers `x19`-`x28`, `sp` + +## Reference +- [johannst arm64 notes](https://johannst.github.io/notes/arch/arm64.html) + diff --git a/lib/arch/x86_64/README.md b/lib/arch/x86_64/README.md index f573843..f81fc98 100644 --- a/lib/arch/x86_64/README.md +++ b/lib/arch/x86_64/README.md @@ -2,7 +2,7 @@ - Integer/pointer arguments via `rdi`, `rsi`, `rdx`, `rcx`, `r8`, `r9` - Integer/pointer return values via `rax` -- Callee saved registers `rbx`, `rbp`, `r12` – `r15` +- Callee saved registers `rbx`, `rbp`, `r12` – `r15` ## Reference - [johannst x86_64 notes](https://johannst.github.io/notes/arch/x86_64.html) -- cgit v1.2.3