This is a small library of C functions implemented in assembly language, namely with the NASM assembler. The library contains the following functions:
The library is written specifically for Linux systems with an x86-64 architecture. It is not compatible with any other kind of system.
To compile the application, you will need the NASM assembler. On Linux, you can install it by running:
sudo apt update
sudo apt install nasm
Once nasm is installed, run make
from the project's root directory.
The main.c
file contains usages for each of the implemented functions, along with usages of the corresponding built-in functions for comparison purposes. To execute this small demonstration program, run the my_libasm
executable file output by the previous step.