Skip to content

vvaucoul/Libasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

49ac38c · Oct 28, 2022

History

6 Commits
Jun 26, 2020
Jun 26, 2020
Jun 26, 2020
Oct 28, 2022
Oct 28, 2022
Jun 26, 2020
Jun 26, 2020

Repository files navigation

Libasm

ASM Library using x64 registers. This project was done with a intel x64 on MAC OS.

Usage

  • Clone Repository
git clone https://github.com/vvaucoul/Libasm && cd Libasm
  • Compilation
make

Functions

int ft_strlen(const char *str);
char *ft_strcpy(char *s1, const char *s2);
size_t ft_read(int fildes, void *buf, size_t nbyte);
ssize_t ft_write(int fildes, const void *buf, size_t nbyte);
int ft_strcmp(const char *s1, const char *s2);
char *ft_strdup(const char *s1);

Linked List

typedef struct s_list
{
  void *data;
  struct s_list *next;
} t_list;
int ft_list_size(t_list *list);
int ft_atoi_base(char const *str, char const *base);
void ft_list_push_front(t_list **list, void *data);
void ft_list_remove_if(t_list **list, void *data_ref, int (*cmp)(), void (*free_fct)(void*));
void ft_list_sort(t_list **list, int (*cmp)());

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published