https://github.com/kneelian/aarch64-snippets
Tiny code fragments in Aarch64 assembly
https://github.com/kneelian/aarch64-snippets
aarch64 aarch64-linux arm arm64 assembly-language code-fragments mandelbrot shunting-yard shunting-yard-algorithm snippets snippets-collection
Last synced: 2 months ago
JSON representation
Tiny code fragments in Aarch64 assembly
- Host: GitHub
- URL: https://github.com/kneelian/aarch64-snippets
- Owner: kneelian
- License: mit
- Created: 2024-08-13T15:08:52.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-08-20T00:56:44.000Z (9 months ago)
- Last Synced: 2025-01-21T20:28:27.641Z (4 months ago)
- Topics: aarch64, aarch64-linux, arm, arm64, assembly-language, code-fragments, mandelbrot, shunting-yard, shunting-yard-algorithm, snippets, snippets-collection
- Language: Assembly
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aarch64-snippets
Tiny code fragments in Aarch64 assemblyAll code should be built with `gcc ./*.s -o a.out` or the equivalent for your device. All code has been tested on a Raspberry Pi 400 running an Arm Cortex-A72 CPU, but will likely work on arbitrary Cortex-A series CPUs with 64-bit support (so, any postdating the A32). Several fragments rely on the C standard library, primarily for input and output (depending on `stdio.h`), and so might not be appropriate for freestanding targets: when porting to a nonstandard platform, it will be necessary to supply library functions such as `printf` and `putchar` independently.