Skip to main content

8086 TASM

8086 Assembly Program to Sort Numbers in Descending Order

In this blog post, we will explore an 8086 assembly language program designed to sort a list of numbers in descending order. Sorting is a fundamental operation in computer science, and understanding how to implement it at the assembly level provides valuable insights into low-level programming and processor operations. The following assembly program sorts an array of numbers in descending order using the bubble sort algorithm:

8086 Assembly Program to Sort Numbers in Ascending Order

In this blog post, we will explore an 8086 assembly language program designed to sort a list of numbers in ascending order. Sorting is a fundamental operation in computer science, and understanding how to implement it at the assembly level provides valuable insights into low-level programming and processor operations.​ The following assembly program sorts an array of numbers in ascending order using the bubble sort algorithm:

8086 Assembly Program to Convert Binary Number into BCD Format

In this blog post, we will explore an 8086 assembly language program designed to convert a binary number into its Binary-Coded Decimal (BCD) format. This conversion is essential in applications where binary numbers need to be represented in a decimal-like format, such as digital displays or interfaces that require human-readable numbers. The following assembly program performs the conversion:

8086 Assembly Program to Find Reverse of an Array

In this blog post, we’ll explore how to reverse an array using an 8086 assembly language program. We will walk through the logic, the step-by-step execution, and provide a working code snippet to illustrate the process. Overall Process: The program initializes registers and sets up pointers to the source (ARR) and destination (REV_ARR) arrays. It processes each element of the original array, copying it in reverse order to the destination array. After processing all elements, the program terminates, leaving the reversed array in memory. 8086 Assembly Code:

8086 Assembly Program to Check if String is Palindrome or not

A palindrome is a word, phrase, or sequence that reads the same forward and backward. This 8086 assembly program determines whether a given string is a palindrome by reversing the string and comparing it to the original. The program follows these steps: Initialize the Data Segment: Load the string to be checked. Reverse the String: Store the reversed string in another memory location. Compare the Original and Reversed Strings: Use CMPSB to compare byte-by-byte. Print the Result: Display whether the string is a palindrome or not.