Skip to content

MaximeJC/42-PostCC_01.2026_Libasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Disclaimer

[ 🇬🇧 ] Please do not copy-paste this code. In this way, you won't learn a lot. Instead, you can use it to understand how to do some tricky part, but try to redo it by your own. Just to let you know, some files may be incorrect. Some bugs may have passed through, or subject may have changed since I did this project.

[ 🇫🇷 ] S'il vous plait, ne copier-coller pas ce code. De cette manière, vous n'apprendrez pas grand chose. A la place, vous pouvez l'utiliser pour comprendre certaines parties plus complexes du sujet, mais essayez de le refaire par vos propres moyens. Pour information, certains exercices pourraient être incorrects. Quelques bugs pourraient avoir réussi à passer au travers les mailles du filet, ou le sujet a peut-être changé depuis que j'ai complété le projet.


42 Post Common Core Project: Libasm

Project Overview

Libasm is a 42 school project focused on implementing standard C library functions in x86-64 Intel assembly. The main objective is to deepen your understanding of low-level programming, calling conventions, and how high-level functions are built from scratch.

Implemented functions

  • ft_strlen — Calculate the length of a string.
  • ft_strcpy — Copy a string to another given buffer.
  • ft_strcmp — Compare two strings.
  • ft_write — Write data to a file descriptor.
  • ft_read — Read data from a file descriptor.
  • ft_strdup — Duplicate a string, having to allocate some memory for that.

Post CC Project - Completed in January 2025
Code by me

About

42 Post CC - "libasm" is a project made to discover assembly language

Topics

Resources

Stars

Watchers

Forks

Contributors