COSC2325 In-class Final Project Objectives: To use arrays, loops, accumulators, arithmetic with integers, conditional statements, procedures and the IRVINE library. **Note: whatever you turn in MUST ASSEMBLE. It cannot contain errors. A grade of zero is given if what is turned in does not assemble. Tasks: Create a double word array and initialize it with test grades. (10 points) Using a loop, output the values in the array, the sum, and the average of the grades. (Loop-10 points, sum-10 points, average-10 points) Create a procedure named FindLargest that receives two parameters: a pointer to the double word grades array, and a count of the array’s length. The procedure must return the value of the largest array member in EAX and print the largest value in the main procedure. · Use the PROC directive with a parameter list when declaring the procedure (parameters: a pointer to a doubleword array, and a count of the array’s length). (15 points) · Preserve all registers (except EAX) that are modified by the procedure. (5 points) · The procedure must return the value of the largest array member in EAX and display the largest value in the main procedure. (10 points) · Create a PROTO declaration for FindLargest. (5 points) · Comment all of your code: (5 points) · Write a test program that calls FindLargest three times and passes three different arrays of different lengths. (10 points) Be sure to test negative values in your arrays. (5 points) Example Run: Output formatted like example below: (10 points) Array1: 10 20 30 2 3 1 30 Largest array member: 30 Sum: 96 Average: 13 Array2: 10 20 -30 Largest array member: 20 Sum: 0 Average: 0 Array3: 20 -20 30 2 100 Largest array member: 100 Sum: 132 Average: 26 Final Step: TURN IN Take one screenshot of the output. -5 points if screenshot of output not included Copy the program and the screenshot to a word document. Upload the word document.
A patient appears to be somewhat anxious after learning her…
A patient appears to be somewhat anxious after learning her treatment will include soft tissue massage. Which of the following massage strokes would be most appropriate to begin with?
Why were French peasants reluctant to leave for New France?
Why were French peasants reluctant to leave for New France?
Which of the following conditions would be least appropriate…
Which of the following conditions would be least appropriate for a compression treatment?
Because federal agency rules have a binding effect, and thei…
Because federal agency rules have a binding effect, and their violators may be punished, certain established procedures must be followed in creating them.
A patient diagnosed with peroneus (fibularis) longus tendoni…
A patient diagnosed with peroneus (fibularis) longus tendonitis is referred to physical therapy. The PTA treats the patient using iontophoresis over the tendon. Which type of current would the PTA use to administer the treatment?
As a result of the Sedition Acts,
As a result of the Sedition Acts,
A patient is being treated for an acute ankle sprain. When s…
A patient is being treated for an acute ankle sprain. When selecting a modality which of the following responses would NOT be beneficial?
Which of the following treatments is used to maintain edema…
Which of the following treatments is used to maintain edema reduction and enhance function in daily activities?
A patient diagnosed with peroneus (fibularis) longus tendoni…
A patient diagnosed with peroneus (fibularis) longus tendonitis is referred to physical therapy. The PTA treats the patient using iontophoresis over the tendon. Which type of current would the PTA use to administer the treatment?