This project is a library of 64-bit Assembly language functions that adhere to specific requirements and conventions. It includes implementations of essential functions like ft_strlen, ft_strcpy, ft_strcmp, ft_write, ft_read, and ft_strdup.
- Written in 64-bit Assembly language.
- Adheres to specified calling conventions and conventions.
- Utilizes NASM for assembly code compilation.
- Follows the Intel syntax, not the AT&T syntax.
- Properly handles errors during syscalls and sets the
errnovariable.
- Clone the repository.
- Compile the library using the provided Makefile.
- Include the
libasm.hheader in your C projects. - Use the
libasm.alibrary in your projects. - Use this command to test it with a test main.c
gcc -Wall -Wextra -Werror main.c -L. -lasm
Tuto: