Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c.) Use the following program to estimate the instruction execution rate for MIPSym running on your computer. Adjust the Time Factor on your computer, assemble

c.) Use the following program to estimate the instruction execution rate for MIPSym running on your computer. Adjust the Time Factor" on your computer, assemble and run until the displayed timing of 5 second intervals is correct. For you answer, submit the "Time Factor" that corresponds to your interval. image text in transcribed

# When properly adjusted, will report elapsed time every 5 # seconds over a period of one minute data asciiz n Elapsed Time " code # Data declaration section mag: # Start of code section # Time counter # Adjustable Time Factor main: 1i $s1,0 countdown: 1i $s0,2500000 waitloop: addi bnez addi $s0,$s0,-1 $s0, waitloop $s1,$s1,5 ?ao, msg syscall $print_atring $a0, $sl # Print amount syscall Sprint_int addi bnez syscall ?exit ?to, $sl,-60 $to,countdowm # When properly adjusted, will report elapsed time every 5 # seconds over a period of one minute data asciiz n Elapsed Time " code # Data declaration section mag: # Start of code section # Time counter # Adjustable Time Factor main: 1i $s1,0 countdown: 1i $s0,2500000 waitloop: addi bnez addi $s0,$s0,-1 $s0, waitloop $s1,$s1,5 ?ao, msg syscall $print_atring $a0, $sl # Print amount syscall Sprint_int addi bnez syscall ?exit ?to, $sl,-60 $to,countdowm

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

Step: 3

blur-text-image

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

A Complete Guide To Data Science Essentials

Authors: Miguel

1st Edition

9358684992, 978-9358684995

More Books

Students also viewed these Databases questions