This project is all about getting the basics of x86 assembly programming, by reimplementing a few libc and linked lists functions.
🔧 System Requirements:
To run the command, open your terminal and follow these steps:
-
To create
libasm.a
:(cd /path/to/project/directory && make)
-
To compile with
libasm.a
:(cd /path/to/project/directory && make) clang -o a.out *.o -I /path/to/project/directory/include -L /path/to/project/directory -lasm
-
To run Units Tests:
(cd /path/to/project/directory && make units && ./units)
- 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 -
int ft_atoi_base(char *str, char *base);
- ft_list_push_front -
void ft_list_push_front(t_list **begin, void data);
- ft_list_size -
int ft_list_size(t_list *begin);
- ft_list_sort -
void ft_list_sort(t_list **begin, int (*cmp)());
- ft_list_remove_if -
void ft_list_remove_if(t_list **begin, void *data_ref, int (*cmp)(), void (*free_fct)(void *));