diff options
-rw-r--r-- | src/arch/arm64.md | 10 | ||||
-rw-r--r-- | src/arch/x86_64.md | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/arch/arm64.md b/src/arch/arm64.md index 68c4bfa..d6c7083 100644 --- a/src/arch/arm64.md +++ b/src/arch/arm64.md @@ -124,7 +124,9 @@ stp x1, x2, [x0] // [x0] = x1; [x0 + 8] = x2 - `SP` ### Stack -- grows downwards +- full descending + - full: `sp` points to the last used location (valid item) + - descending: stack grows downwards - `sp` must be 16byte aligned when used to access memory for r/w - `sp` must be 16byte aligned on public interface interfaces @@ -218,11 +220,13 @@ Hi ASM-World! - [AppNote: ARMv8 Bare-metal boot code][armv8_baremetal_boot] - [GNU Assembler][gas_doc] - [GNU Assembler Directives][gas_directives] +- [GNU Assembler `AArch64` dependent features][gas_arm64] [aapcs64]: https://github.com/ARM-software/abi-aa/blob/master/aapcs64/aapcs64.rst -[armv8a_prog_guide]: https://developer.arm.com/documentation/den0024/a +[armv8a_prog_guide]: https://developer.arm.com/documentation/den0024/latest [armv8a_arm]: https://developer.arm.com/documentation/ddi0487/latest -[armv8_baremetal_boot]: https://developer.arm.com/documentation/dai0527/a +[armv8_baremetal_boot]: https://developer.arm.com/documentation/dai0527/latest [gas_doc]: https://sourceware.org/binutils/docs/as [gas_directives]: https://sourceware.org/binutils/docs/as/Pseudo-Ops.html#Pseudo-Ops +[gas_arm64]: https://sourceware.org/binutils/docs/as/AArch64_002dDependent.html diff --git a/src/arch/x86_64.md b/src/arch/x86_64.md index 7fd5113..5498569 100644 --- a/src/arch/x86_64.md +++ b/src/arch/x86_64.md @@ -210,6 +210,7 @@ Hi ASM-World! - [Intel 64 Vol3: System Programming Guide][intel64_vol3] - [GNU Assembler][gas_doc] - [GNU Assembler Directives][gas_directives] +- [GNU Assembler `x86_64` dependent features][gas_x86_64] [sysvabi]: https://www.uclibc.org/docs/psABI-x86_64.pdf @@ -222,3 +223,4 @@ Hi ASM-World! [intel64_vol3]: https://software.intel.com/content/www/us/en/develop/download/intel-64-and-ia-32-architectures-sdm-combined-volumes-3a-3b-3c-and-3d-system-programming-guide.html [gas_doc]: https://sourceware.org/binutils/docs/as [gas_directives]: https://sourceware.org/binutils/docs/as/Pseudo-Ops.html#Pseudo-Ops +[gas_x86_64]: https://sourceware.org/binutils/docs/as/i386_002dDependent.html |