Page 1 of 1

For my Computer Organization and Assembly Language Class Create an array of DWORD types that is 25 elements long. Define

Posted: Sun Jul 10, 2022 11:25 am
by answerhappygod
For my Computer Organization and Assembly Language Class
Create an array of DWORD types that is 25 elements long. Defineeach element of the array as being undefined. Write code to fillthe array with values in the range of 1 - 100. Once you have thearray filled ask the user to input a divisor then loop through thearray and print out all of the numbers that are evenly divisible bythe divisor that was input by the user.
You are not to use any .IF .ELSE, .WHILE, or .ENDW or .REPEATinstructions. You are to use pure old fashion assembly language tosolve this.
You are also required to comment every line of code you write.Failure to do so will drop you grade 20%
Your program should function like the following:
Enter a divisor5Here are the numbers that are evenly divisible by 555551030753030103525905580759015356525Press any key to close this window . . .
Note that since these numbers have been generated randomly youroutput will probably not match the image above but it should be thesame as far as functionality goes.
Please NOTE:
Not putting comments in assembly language source code inunacceptable. You are required to comment each line of code youwrite. Failure to do so will result in a 20% reduction in yourgrade.