Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need in mips please 10. (18 pts) Trace the following code, given the data segment shown. Show exactly what is printed and show what

image text in transcribedi need in mips please

10. (18 pts) Trace the following code, given the data segment shown. Show exactly what is printed and show what will be in the array nums at the end of the code. i lw .data nums: .word 25, 15, 85, 35, 50, 75, 65 sep: .asciiz "$$$" main: lui Sto, Ox1001 Sti, 3 addi St5, Sti, -2 addi St4, Sto, 28 addi St2, Sto, 4 addi St3, Sto, 12 loop: bgt St5, sti, loopend $30, 0 (502) Iw $31, 4(St3) add $30, $30, $31 SW $30, 0(500) move Sa0, $30 li Svo, 1 syscali Svo, 4 move 550, 511 syscall addi Sto, Sto, 4 addi St2, St2, 8 addi St3, St3, 4 addi St5, St5, 1 loop loopend: li

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

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

3. Existing organizations and programs constrain behavior.

Answered: 1 week ago