Question: Problem Description: 1 . ) Write a program in Assembly language 8 0 8 6 that reads the numbers from memory ( num 1 :
Problem Description:
Write a program in Assembly language that reads the numbers from memory num: dw and perform following operations on them;
Separate the prime numbers and store the result prime numbers in consecutive memory locations in an array dw named 'prime'.
Find the average of numbers from prime array and store in array name avg : dw
Sort the numbers from given array num: dw in ascending order Store the result in consecutive memory locations in an array dw named sort.
There should be separate subroutines for each mentioned task like prime, average, sort. Also implement stack concept within each subroutines.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
