diff options
author | johannst <johannes.stoelp@gmail.com> | 2020-09-29 21:23:57 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2020-09-29 21:23:57 +0200 |
commit | 27f66dfd4f0de8623656f38bebcccd91cdc4f182 (patch) | |
tree | 25eaad0b195160e644dbc4884f0b2ef1e810faca /lib | |
parent | c445d128720e96adcdd12db9849f19fd60fca353 (diff) | |
download | matcha-threads-27f66dfd4f0de8623656f38bebcccd91cdc4f182.tar.gz matcha-threads-27f66dfd4f0de8623656f38bebcccd91cdc4f182.zip |
add arm64 README
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arch/arm64/README.md | 9 | ||||
-rw-r--r-- | lib/arch/x86_64/README.md | 2 |
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) |