Skip to content

jacob5412/8086-Programs

Repository files navigation

8086 Programs for Evaluation

  1. Addition of 2 8b numbers add_8b_2.asm
  2. Subtraction sub_8b.asm
  3. Multiplication multiply_8b.asm
  4. Division of 16b with 8b number divide_16b_by_8b.asm
  5. Addition of 2 16b add_8b_16b.asm
  6. Multiplication of 2 32b multiply_2_32b.asm
  7. Sum of n 8b Sum_of_n_8b.asm
  8. Print array print_array.asm
  9. Add two 8bit numbers add_8b_2.asm
  10. Load Effective Address lea.asm
  11. Offset offset.asm
  12. Count number of 1s in a binary number count_1s.asm
  13. Find the largest number among 5 grades find_largest.asm
  14. Divide 16b by 8b divide_16b_by_8b.asm
  15. Add 16b with carry add_16b_carry.asm
  16. Add 16b BCD add_16b_bcd.asm
  17. Decimal Adjust after addition daa.asm
  1. ALP to find the Greatest Common Divisor of two unsigned integer.gcd_two.asm
  2. ALP to find the Sum and average of unsigned integer. sum_average_unsigned.asm
  3. Develop and execute an ALP to compute factorial of a positive integer number using recursive procedure. fact.asm
  4. Transfer string from one memory location to another. copy_string_memory_location.asm
  5. Count vowels in a word count_vowels.asm
  6. Calculate power(a,b) i.e a^b power.asm
  7. Average of values stored in an array. average_sum_array.asm
  8. Find Reverse of an array. reverse_array.asm
  9. Prompts the user to enter an array and displays it prompt_user_array+display.asm
  10. Find largest number in memory location finding_largest_number_memory.asm
  11. Check if number is even or odd check_number_even_odd.asm
  12. Check if given number is prime given_number_prime.asm
  13. Fibonacci Sequence fibonacci.asm || fibonacci2.asm || fibonacci3.asm
  14. Concatenation of strings concatenation_string.asm
  15. Check if string contains substring substring_in_string.asm
  16. Count number of words count_words.asm
  1. ALP for conversion of 16-bit HEX number into its equivalent BCD number.hex_bcd.asm

  2. ALP for conversion of 16-bit BCD number into its equivalent HEX number. bcd_hex.asm

  3. ALP for conversion BCD number 7-Segment String. seven_segment.asm

  4. ALP to copy the string of successive memory locations from one memory to other.

    a. Using string instructions copy_string_instruction.asm

    b. Without using string instruction copy_without_string_instruction.asm

  5. Compare two strings compare_strings.asm

  6. Reverse a number reverse_number.asm

  7. Decimal to binary decimal_to_binary.asm

  8. Decimal to octal decimal_to_octal.asm

  9. Hexadecimal to decimal hex_to_decimal.asm

  1. ALP to Sort a set of unsigned integer numbers in ascending/ descending order using Bubble sort algorithm. bubble_sort.asm
  2. Array Ascending array_ascending.asm
  3. Array Descending array_descending.asm
  1. Develop and execute ALP that implements Binary search algorithm. The data consists of sorted 16 bit unsigned integers. The search key is also a 16 bit unsigned integer. binary_search.asm
  2. Search Element in an array search_element_array.asm
  3. Linear Search linear_search.asm
  4. Occurences of character occurences_character_count.asm

Assessment Programs

  1. Emulate a counter on emu8086, to count the no. of 1’s (binary) in the given input value. count_1s.asm
  2. Emulate water level controller on emu8086 for the following Specifications: water_level_controller.asm
    • No. of water levels in the overhead tank is 8
    • Display the current level of water with a buzzer
    • Switch on the motor if the water level is 1
    • Switch off the motor if the water level is 8
    • Switch on the buzzer on water overflow
  3. Emulate a fire monitoring system on emu8086 for the following specifications: fire_monitoring_system.asm
    • Define the threshold for the temperature of two rooms
    • Generate the temperature value in 8b resolution
    • Switch on the alarm and display an alarm message when the threshold of either of the room is reached
    • Remove the alarm and bring the temperature below the threshold
  4. Design and Emulate a smart automation system for a garment manufacturing unit with the following requirements:- garment_defect.asm
    • To detect all possible defects.
    • To remove the defective pieces.
    • To provide comprehensive inventory report.
  5. Find the largest number from an unordered array of sixteen 8-bit numbers stored sequentially in memory location 2000:5000H. Store the largest number in memory location 2000:5000H.finding_largest_number_memory.asm

Note: All the given programs must be emulated using emu8086 only. Download link

  1. Traffic Lights
  2. LED display LED_display_test.asm
  3. Stepper Motor stepper_motor.asm
  4. Thermometer thermometer.asm
  5. Robot robot.asm
  6. Timer timer.asm
  7. Keyboard keybrd.asm
  8. Mouse mouse.asm

About

ASM Programs on 8086

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published