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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply