Question: Please answer this in assembly language. (using easy 68k prggramming). thank you. 1. Write a program called SortedPrimes to a. Find out the prime numbers

Please answer this in assembly language. (using easy 68k prggramming). thank you.
1. Write a program called SortedPrimes to a. Find out the prime numbers in a method from the following list (15, 16, 17, 23,2, 32, 3,31, 13, 19, 12, 9) and push/store them in a stack and then PRINT. (15 points) b. Sort those prime numbers passed by reference (using PEA) to a second method that you found out from the above list in descending order and then PRINT. (20 points) Output should look like below on console; Prime Numbers: 17 23 2 3 31 13 19 Sorted in Descending Order: 31 23 19 17 13 3 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
