Learning assembly by writing a small library of libC functions.
Setup: X86, Intel syntax, with nasm.
- nasm:
brew install nasm
make # compile the library
make test # compile and execute some C unit tests
- bzero
- strcat
- isalpha
- isdigit
- isalnum
- isascii
- isprint
- toupper
- tolower
- puts
- strlen
- memset
- memcpy
- strdup
- ft_cat: a function that act like the
cat
binary
make cat_test # compile and execute some bash unit tests for ft_cat
- memalloc
- strnew
- strcpy
- strcmp
- strchr
- strjoin
- atoi