Create a procedure named FindLargest that receives two parameters: a pointer to a signed doubleword array,and a count of the array’s length.

Create a procedure named FindLargest 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 largest 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 FindLargest and passes three different arrays of different lengths. Be sure to include negative values in your arrays. Create a PROTO declaration for FindLargest.This should be written in Assembly language for x86 processors. DO NOT post the code from the solution manual because it does not compile!

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply