Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.72 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.72 KB

libasm (@42Paris)

Assembly yourself!

Alt text

About

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

Building and running the project

  1. Download/Clone this repo

     git clone https://github.com/lucaslefrancq/42_libasm.git
    
  2. cd into the root directory, and run make

     cd 42_libasm
     make
    
  3. compile your main.c or the main.c in this repo with libasm.a

Sources