Question
Problem: The purpose of this lab is to introduce more complex data manipulation using assembly language. You will be exploring concepts relating to data storage
Problem:
The purpose of this lab is to introduce more complex data manipulation using assembly language. You will be exploring concepts relating to data storage and looping structures while analyzing a random set of grade values. Your program will calculate the minimum and maximum grades along with the average and median grades of the set.
Assignment:
Create a project that will allow you to enter a random set of grades and provide storage for the results in RAM. Use meaningful names for your RAM storage locations to help make your code more readable. You should provide locations for your grade data, minimum grade, maximum grade, average grade, and median grade. Allowed grades are between 0-100. You will indicate the end of the grade set with a value of -1.
please create an array for the random set of grades. Please do the same with the test vectors
example random set of grades:
array: .word 18,25,50,45,8,10,64,68,-1
example test vectors:
array: .word 91, 82, 70, 50, 90, 92, 88, -1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started