Question: Create a procedure name it CountinArr The procedure receives the following parameters: a pointer to a signed doubleword array, a signed doubleword Number, and a
Create a procedure name it CountinArr
The procedure receives the following parameters: a pointer to a signed doubleword array, a signed doubleword Number, and a count of the arrays length. The procedure must return: how many times the Number repeated in the array Use the PROC directive with a parameter list when declaring the procedure. Preserve all registers (except EAX) that are modified by the procedure. Write a test program that calls three times CountinArr and passes different arrays of different lengths. Be sure to include negative values in your arrays. Print the array and the output of the procedure (how many times the Number repeated in the array) Create a PROTO declaration for CountinArr. assembly language ( visual studio)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
