Question: 3 . ( Bonus - 3 0 p ) Create an array with 1 0 0 elements of type word. To find the prime numbers
Bonus p Create an array with elements of type word. To find the prime numbers in the array, call a subroutine named The prime numbers found in the array should be stored in a separate array in the data segment. Write the assembly programs for the main procedure and the subroutine.
Name the file containing your main program as SYourStudentNumber.asm and the file containing your subroutine as Saltyourstudentnumber.asm.
Compile your programs into an file using and link them to create a document named SYourStudentNumber.exe.
Demonstrate that your program works correctly using debugging by providing screenshots showing the registers, flags, and relevant memory regions during execution.
Compile all these steps, along with explanations of your assembly code, into a single PDF document named SYourStudentNumber.pdf
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
