Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to take an array and the be able to find the mean, median, average, min, and max. The array will be grades and

I need to take an array and the be able to find the mean, median, average, min, and max. The array will be grades and the end of the array should end with -1. I am honestly clueless on how to do this. I get the high level of initializing the array and then probably having to sort it and then iterate over it to find the values I need, but I do not know how to write that out in Assembly Language. Please help. I need the assembly language code and the flow diagram if possible. I tried to load the array and from what I know, i think this is how a set of vectors would be written out in the code. array: .word 5,4,3,2,1,-1 with -1 showing the end of the array which in this case is the end of the grade set. Language is ARM Assembly Language (thumb2) with STM32 Microcontroller

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

More Books

Students also viewed these Databases questions

Question

To understand the role of HRM as a business development partner.

Answered: 1 week ago