https://github.com/abderrsfa/libasm
A small library consisting of 6 functions, written in x86 64-bit assembly (Intel syntax)
https://github.com/abderrsfa/libasm
1337 42born2code assembly assembly-language libasm
Last synced: 8 months ago
JSON representation
A small library consisting of 6 functions, written in x86 64-bit assembly (Intel syntax)
- Host: GitHub
- URL: https://github.com/abderrsfa/libasm
- Owner: AbderrSfa
- License: apache-2.0
- Created: 2021-03-03T15:47:19.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-09T16:47:37.000Z (almost 5 years ago)
- Last Synced: 2024-12-27T17:16:02.961Z (over 1 year ago)
- Topics: 1337, 42born2code, assembly, assembly-language, libasm
- Language: Assembly
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📠 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):
```c
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 `