Skip to content

Rigbir/Assembly_Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assembly Library for x86 (i8086)

This project is licensed under the Apache License 2.0.

Assembly Library for x86 — It is a macro library for the i8086 assembler, designed for user-friendly operation. It simplifies the development of assembly language programs by providing ready-made solutions for basic operations.

Features

Easy to use — minimizes routine in assembly programming.
Runs on NASM — compatible with Mac OS, Linux, Windows.
C-like syntax — makes assembly code more readable.

Demonstration

Want to see the library in action?
Check out the Test Program, which demonstrates most of the library's functions.

Documentation

Explore the full documentation for detailed descriptions of all available macros.

Online Documentation

English Version

Russian Version

A minimal overview of the features

Input and Output of strings (print, println, print_multi, print_inline)
Operations with strings (strlen, strcopy, strcmp, substr, concat)
Various conversions (int_to_str, str_to_int, int_to_bin)
And other features

Installation and use

  1. Clone this repository:
    git clone https://github.com/Rigbir/Assembly_Library.git
  2. Move the library file to your project folder:
    mv MarLib.asm /path_to_your_work-folder
  3. Use library in your code:
    %include "MarLib.asm"
  4. Use the macros you need:
    section .data
       msg db "Hey, this is MarLib function$!"
    section .text
       print msg
  5. After, compile your file and run:
    nasm -f bin examples.asm -o examples.com 
    
    dosbox examples.com

Get Involved & Feedback

Have suggestions, found an issue, or want to improve the library?
Feel free to contribute, ask questions, or start discussions!

Ways to connect:
Open an Issue to report a bug or suggest an improvement.
Feel free to fork and submit a Pull Request with your contributions!

Your feedback and contributions help make this library better!