Question: using masm visual studio and Irvine library O 1. Create a procedure named FindSmallest that receives two parameters: a pointer to a signed doubleword array,
using masm visual studio and Irvine library
O 1. Create a procedure named FindSmallest that receives two parameters: a pointer to a signed doubleword array, and a count of the array's length. The procedure must return the value of the smallest array member in EAX. 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 FindSmallest and passes three different arrays of different lengths. Be sure to include negative values in your arrays. Create a PROTO declaration for FindSmallest. O O 2. Create an array of randomly ordered integers. Using the Swap procedure from the Demo Program 1 as a tool, write a loop that exchanges each consecutive pair of integers in the array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
