/libasm

Primary LanguageC

libasm

libasm is a project to rewrite following functions in assembly language (64 bits ASM).

name content
ft_strlen man 3 strlen
ft_strcpy man 3 strcpy
ft_strcmp man 3 strcmp
ft_write man 2 write
ft_read man 2 read
ft_strdup man 3 strdup
ft_atoi_base like the one in the piscine
ft_list_push_front like the one in the piscine
ft_list_size like the one in the piscine
ft_list_sort like the one in the piscine
ft_list_remove_if like the one in the piscine

Getting Started

git clone https://github.com/kefujiwa/libasm.git
cd libasm

# Make sure both nasm and gcc are installed.
# Compliation Flags are based on MacOS (nasm -fmacho64)

# create library `libasm.a`
make all
make bonus

# test
make test
make testb (for bonus)

This will produce a libasm.a library which you can link to your project.