Skip to content

This repository contains a collection of x86 assembly language programs demonstrating various algorithms and techniques. It includes examples of arithmetic operations, mathematical expressions, string manipulation, and sorting algorithms. Explore and experiment with these low-level programming examples to gain insights into x86 assembly language.

License

Notifications You must be signed in to change notification settings

Mohammed-Azab/x86-Assembly-Programs

Repository files navigation

x86 Assembly Programs

Welcome to the x86 Assembly Programs repository! This collection features various assembly language programs written for the x86 architecture. Each program demonstrates different algorithms and techniques in low-level programming. Below is an outline of the folders and the algorithms they contain.

Table of Contents

Folder Descriptions

Folder 1: Arithmetic Operations

This folder contains programs related to basic arithmetic operations.

  • Square Elements
    • Algorithm: Squares each element in an array.
    • Description: Demonstrates how to manipulate and operate on arrays using arithmetic operations.

Folder 2: Mathematical Expressions

This folder contains programs that deal with mathematical expressions and patterns.

  • Pascal's Triangle
    • Algorithm: Generates Pascal's Triangle.
    • Description: Demonstrates how to compute and display Pascal's Triangle using assembly language.

Folder 3: String Manipulation

This folder contains programs that manipulate strings and perform text operations.

Folder 4: Sorting Algorithms

This folder contains programs that implement various sorting algorithms.

  • Bubble Sort
    • Algorithm: Implements the bubble sort algorithm.
    • Description: Demonstrates sorting techniques using nested loops and comparisons.

How to Run

  1. Clone the repository:

    git clone https://github.com/Mohammed-Azab/x86-Assembly-Programs.git
    cd x86-Assembly-Programs
  2. Assemble and link the program:

    nasm -f elf32 program_name.asm -o program_name.o
    ld -m elf_i386 -s -o program_name program_name.o
  3. Run the executable:

    ./program_name

License

This repository is licensed under the MIT License. See the LICENSE file for more details.


Feel free to explore, modify, and contribute to these programs. Happy coding!

About

This repository contains a collection of x86 assembly language programs demonstrating various algorithms and techniques. It includes examples of arithmetic operations, mathematical expressions, string manipulation, and sorting algorithms. Explore and experiment with these low-level programming examples to gain insights into x86 assembly language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published