/42_libasm

School project: get familiar with assembly language (with all the bonuses).

Primary LanguageAssembly

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