aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-09-29 21:23:57 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-09-29 21:23:57 +0200
commit27f66dfd4f0de8623656f38bebcccd91cdc4f182 (patch)
tree25eaad0b195160e644dbc4884f0b2ef1e810faca
parentc445d128720e96adcdd12db9849f19fd60fca353 (diff)
downloadmatcha-threads-27f66dfd4f0de8623656f38bebcccd91cdc4f182.tar.gz
matcha-threads-27f66dfd4f0de8623656f38bebcccd91cdc4f182.zip
add arm64 README
-rw-r--r--lib/arch/arm64/README.md9
-rw-r--r--lib/arch/x86_64/README.md2
2 files changed, 10 insertions, 1 deletions
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)