Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a 2D array of DWORD types that is 10 row by 10 columns. Initially set the elements of the array to undened. Write code

image
Create a 2D array of DWORD types that is 10 row by 10 columns. Initially set the elements of the array to undened. Write code to ll the array with random values in the range of 1 - 10. You are required to use nested counted loops to ll the array. You are NOT allowed to use an store string instructions. Once you have the array lled print it out to the screen in row 2' column fashion with each column separated by a TAB space (this is value 09h) using indirect addressing. Once the loop is printed out write code that will search the array and count the number of 'dmes a specic number appears. You must use indirect addressing to count the number of times a value appears. For this Lab you can use .iF .ELSE. and .ENDIF instructions if you would prefer. 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: Microsoft li'lsual Studio Debug Console 7 [I X II] I m |_L| I m .3- y_- I_LI m i,_-. E: ,_. . UIH a m 1 1 >- m ' VI] 18 number nu her to close th' window

Create a 2D array of DWORD types that is 10 row by 10 columns. Initially set the elements of the array to undefined. Write code to fill the array with random values in the range of 1 - 10. You are required to use nested counted loops to fill the array. You are NOT allowed to use an store string instructions. Once you have the array filled print it out to the screen in row / column fashion with each column separated by a TAB space (this is value 09h) using indirect addressing. Once the loop is printed out write code that will search the array and count the number of times a specific number appears. You must use indirect addressing to count the number of times a value appears. For this Lab you can use .IF .ELSE, and .ENDIF instructions if you would prefer. 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: C: Microsoft Visual Studio Debug Console 5 2 2 6 2 8 4 8 1 8 5 4 7 9 2 3 4 5 3 8 6 1 3 6 1 10 4 5 5 10 7 4 What number are you looking for? 4 That number appears 9 times 7 7 8 6 10 5 10 2 3 10 3 2 4 8 9 1 7 8 OPVS www 10 9 9 6 2 8 2 4 1 7 7 9 9 WV N W NND VWO 3 7 10 2 2 3 2 7 3 8 9 6 4 10 5 4 2 10 5765a a aa aN 9 9 9 9 9 2 C:\Users\gstev\source epos\asmProject\Debug\asmProject.exe (process 79028) exited with code 0. Press any key to close this window

Step by Step Solution

There are 3 Steps involved in it

Step: 1

sample assembly cod... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Algorithms

Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest

3rd edition

978-0262033848

More Books

Students also viewed these Programming questions

Question

What are two important limitations of the Heckscher- Ohlin theory?

Answered: 1 week ago

Question

Evaluate the product Tk=2(1 1/k).

Answered: 1 week ago

Question

Calculate the missing values

Answered: 1 week ago