subject
Computers and Technology, 14.10.2021 03:10 nia3378

This was thrown on me very last minute and I am SO confused. I've been working on this for hours with no luck. I need a VERY basic and simple MIPS assembly language program that finds the range of some arbitrary integers. Meaning given an arbitrary number of values, find the smallest, largest and then find the difference.

The ONLY commands I know/can use so far are:

lw, sw, addi, add, sub, mul, beq, bne, j label, slt, blt, ble, bgt, and bge

I cannot use an array or any type of data file. I'm only doing basic stuff right now.

The simulator I use to write these programs is in the attached picture.


This was thrown on me very last minute and I am SO confused. I've been working on this for hours wi

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:10
Ihave a music player on my phone. i can buy songs, add them to playlists and play them. obviously it would be redundant to store each song in each playlist; each playlist is just a list of pointers to the songs. for this lab you will simulate this behavior. your program will need to have options to: add songs to the system library (you will store the text of the first line of the song, rather than the audio) add playlists add songs to a playlist list playlists play a playlist list all of the songs in the library with a count of how many times each song has been played remove a song from a playlist remove a playlist remove a song from the library (and thus from all playlists that contain it) note that we will not be checking many error cases. in real programming this would be bad, you should usually try to recognize and respond to as many types of errors as you can. in the context of class we are trying to acquaint you with as many concepts as possible, so for the sake of educational efficiency we will not be checking most errors in this lab, you may assume that your user provides correct input. you may add all appropriate error testing if you wish, but we will not be testing for it.
Answers: 2
question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Facial expressions and gestures are examples of messages.
Answers: 3
You know the right answer?
This was thrown on me very last minute and I am SO confused. I've been working on this for hours wit...
Questions
question
Mathematics, 27.03.2020 16:25
question
Mathematics, 27.03.2020 16:25
question
Health, 27.03.2020 16:26
question
Mathematics, 27.03.2020 16:26
question
Mathematics, 27.03.2020 16:27
Questions on the website: 13722363