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