Calculate the average of x using div instraction


Problem

Assume that X= {2, 4, 6, 8}.

Need a MIPS assembly code to need an array X.
Calculate the Average of X using " div " instraction. (For example, the averge of x = (2+4+6+8) /4).
Print out the average on I/O screen.
Terminate the program using a system call.

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: Calculate the average of x using div instraction
Reference No:- TGS03257016

Expected delivery within 24 Hours