Question: In this program data comes in pairs, say height and weight: .data pairs: .word 5 # number of pairs .word 60, 90 # first pair:
In this program data comes in pairs, say height and weight:
.data
pairs: .word 5 # number of pairs
.word 60, 90 # first pair: height, weight
.word 65, 105
.word 72, 256
.word 68, 270
.word 62, 115
Write a MIPS program that computes the average height and average weight. Leave the results in two registers.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
