⚖️ 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.
🔹 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.
💭 Want to see the library in action?
📌 Check out the 👉 Test Program, which demonstrates most of the library's functions.
Explore the full documentation for detailed descriptions of all available macros.
🌐 Online Documentation
🔹 English Version
🔹 Russian Version
📌 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
- Clone this repository:
git clone https://github.com/Rigbir/Assembly_Library.git
- Move the library file to your project folder:
mv MarLib.asm /path_to_your_work-folder
- Use library in your code:
%include "MarLib.asm"
- Use the macros you need:
section .data msg db "Hey, this is MarLib function$!" section .text print msg
- After, compile your file and run:
nasm -f bin examples.asm -o examples.com dosbox examples.com
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! 🚀