A repository containing example programs written in assembly using nasm syntax and the x86_64 syscalls and System V AMD64 ABI calling convention
Please see registers.md
if you are not familiar with the x86_64 registers and the calling convention used in macos.
You need the following tools:
gcc
nasm
If you want to contribute programs, please use the content of template_file_description.txt
in your file.
I do not know of any fix for the linker (ld) warning. But because it is only a warning and the right platform is selected (macos) we ignore it for now.
I am not a professional. The code is based on what I could find on the web and what I thaught myself.
If you encounter any errors or problems feel free to suggest changes and / or fixes.
This repository is inspired by this repository for 32bit assembly