Question: To assess your understanding of basic programming structures in assembly language. To assess your knowledge of programming with MASM (Microsoft Macro Assembler) and Visual Studio
To assess your understanding of basic programming structures in assembly language. To assess your knowledge of programming with MASM (Microsoft Macro Assembler) and Visual Studio Problem Description & Programs Write an assembly language program in MASM to perform the following tasks: Write a program that computes the sum of a sequence of integers. The program consists of the following procedures: main: calls genData to generate an array of 10 random numbers (0-99), calls displayArray to display the random numbers, calls countNumbers to count the number of elements in the array that are greater than 50, calls displaycount to display the counting result. genData: generate 10 random numbers (0~99) displayArray: display the array countNumbers: counts the number of elements that are greater than 50. DisplayCount: displays the counting result A sample of run: The random numbers are 12 3 67 34 52 78 11 18 43 83 There are 4 numbers that are greater than 50
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
