Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Run the program in MIPS simulator attach the screenshot of the given program Run the simulator with the following MIPS assembly program .data array: .word

Run the program in MIPS simulator attach the screenshot of the given program
image text in transcribed
Run the simulator with the following MIPS assembly program .data array: .word 1,3,5,7,11,13,17,19,23,29,31,37 sum: word 0 \# this location will contain the sum .text .globl main main: la Ss0, array li St1,12 add St2, Szero, \$zero loop: addi \$t1, \$t1, -1 sll $t3,St1,2 add St3,Ss0,St3 Iw St 0,0(St3) add \$t2, St2, \$t0 bne St1, Szero, loop exit: la $ s0, sum sw St2,0(Ss0) Write a report to describe the assembly program with a comment for each instructor, the comment need to describe the instruction types (data movement, data manipulation, control, etc.), address mode used (direct, indirect, register direct, register indirect, displacement, immediate) and the role for each register used. Also attach a set of full screen shots with time stamps to show the simulations characteristics and results

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

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

Develop a program for effectively managing diversity. page 303

Answered: 1 week ago

Question

List the common methods used in selecting human resources. page 239

Answered: 1 week ago