/asm-library

A library of 11 C functions implemented with the NASM assembler for Linux x86-64 systems

Primary LanguageC

my_libasm

Description

This is a small library of C functions implemented in assembly language, namely with the NASM assembler. The library contains the following functions:

Compatibility

The library is written specifically for Linux systems with an x86-64 architecture. It is not compatible with any other kind of system.

Compiling

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.

Running the tests

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.