libasm is a project to implement standard library functions in C on Assembly x64/x86.
As for may 2024 I've implemented only these functions:
strlen, strcpy, strcmp, strdup, read, write
make
make test
Before including this dynamic lib to your C file, please make sure that in Makefile you added new target for compilation.
#include "libasm.h"
int main(){
char *str = "Hello!";
size_t sz = ft_strlen(str);
printf("%zu\n", sz);
return 0;
}
Not working now. Because Linux-typed OS has another asm syntax. Will add asm later for Linux
Everything is the same as in MacOS, because Makefile does it for you.
make
make test
Before including this dynamic lib to your C file, please make sure that in Makefile you added new target for compilation.
#include "libasm.h"
int main(){
char *str = "Hello!";
size_t sz = ft_strlen(str);
printf("%zu\n", sz);
return 0;
}
Not working now. Because Linux-typed OS has another asm syntax. Will add asm later for Linux
By default container's image is ubuntu:latest
make containerized