Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 1.72 KB

README.md

File metadata and controls

33 lines (30 loc) · 1.72 KB

x86-Basics

A few basic x86 programs built to be run on the legendary 8086, the Processor that started the x86 architecture. Run it on a 8086 emulator like emu8086. Enjoy...

The Programs are named Prog #-#where # denotes the specific program index as shown by the list below.

  1. Data Transfer instructions
    1. N word block transfer without overlap
    2. N byte block transfer with overlap(DSTN starting at the 6th byte position of SRC)
    3. Interchange word blocks
  2. Arithmetic Operations
    1. Addition & subtraction of 2 16-bit numbers
    2. Addition of 2 N byte multi precision numbers
    3. Multiplication of 2 32-bit unsigned hexadecimal numbers
  3. Bit Manipulation Instructions
    1. Check if the 8-bit data is 2 out of 5 code and/or Bitwise palindrome and/or nybblewise palindrome
    2. Check if the given 8-bit data is +ve or -ve and/or odd or even and find the number of 1's and 0's
  4. LCM, HCF and Factorial
    1. Find the LCM of 2 16-bit unsigned integers
    2. Find the HCF of 2 16-bit unsigned integers
    3. Find the factorial of a 16-bit unsigned integer using recurrsion
  5. Code Conversion
    1. Convert a Hexadecimal number to BCD
    2. Convert a BCD number to Hexadecimal
    3. Add and Subtract 2 strings of ASCII digits
  6. Loop Instructions
    1. Bubble sort in ascending order
    2. Find the largest and smallest elements in the array and their locations
  7. String Manipulation Instructions
    1. Reverse a given string and check if it's a palindrome
    2. Search the occurrence of a character in a string by input from the user

Made with ❤️ by spacebiz24 and Eloquencere