Assembly yourself!
Libasm is a project of the mandatory part of the cursus. It's only made in assembly and the main goal was to understand how registers, stack, systems calls and memory work.
-
For this we had to code in assembly 10 different functions :
- Mandatory part was : strlen, strcpy, strcmp, write and read (using syscall)
- Bonus part was : atoi_base, and 4 functions for chainlists
-
Here is the subject
This project was code for MACOS
-
Download/Clone this repo
git clone https://github.com/lucaslefrancq/42_libasm.git
-
cd
into the root directory, and runmake
cd 42_libasm make
-
compile your
main.c
or themain.c
in this repo withlibasm.a