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.
- Folder 1: Arithmetic Operations
- Folder 2: Mathematical Expressions
- Folder 3: String Manipulation
- Folder 4: Sorting Algorithms
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.
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.
This folder contains programs that manipulate strings and perform text operations.
-
NumOfWords_Characters_Lines.asm
- Description: Program to count the number of words, characters, and lines in a given text.
-
- Description: Stores the first 10 vowels in a string.
-
- Description: Counts the number of vowels in a given text.
-
- Description: Reads and processes only the vowel characters from a text.
-
- Description: Searches for a specific character in a string.
-
- Description: Stores the first 10 vowels in a string.
-
- Description: Converts all characters in a string to lowercase.
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.
-
Clone the repository:
git clone https://github.com/Mohammed-Azab/x86-Assembly-Programs.git cd x86-Assembly-Programs
-
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
-
Run the executable:
./program_name
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!