AbderrSfa / libasm

A small library consisting of 6 functions, written in x86 64-bit assembly (Intel syntax)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿ“  libasm

๐Ÿง Description

The aim of this project is to get familiar with assembly language, by writing the following functions in x86 64-bit assembly (Intel syntax):

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

๐Ÿ”ง Usage

To create the libasm.a library, run:

make

To compile, use:

gcc libasm.a <your_file>

About

A small library consisting of 6 functions, written in x86 64-bit assembly (Intel syntax)

License:Apache License 2.0


Languages

Language:Assembly 43.5%Language:Makefile 28.6%Language:C 27.9%