Main Fori Data Word 5 Text

Plsss I need help in Computer Architecture.

1.) Run what.s (downloadable from “Assignment 2” on eLearning) in SPIM, examine some of the registers etc in the SPIM windows, and look in the code of what.s, and try to work out what it does. Check whether the program works if the argument is changed to 6, 1, 0, 10, 20, etc? Answer what the program does in one sentence. 

So the program computes the square of the argument.?? and yes it works for arguments 6,1,0,10,20?

2.) Modify what.s so that it takes two arguments. If the arguments are both the same then the answer should be the same as that of what.s that takes only one argument. If they are different then you should figure out what your program should do based on the above. Try to make as few changes as possible. Give your new program a sensible name.

my guess would be to add another line of argument? like arg1: .word 10 ???    

3.) Enhance the program to allow it to receive the two arguments from the keyboard and display the result in the console window of SPIM. If any of the input arguments is a negative number (less than zero), your enhanced program should display a zero in the console.

I dont know

4.) You should store your enhanced program (only a SINGLE program for Parts 2 & 3) in one SINGLE file called “Ass2.s”. At the top of the program, use comments (starting with “#”) to write your name and also use comments to answer Part 1.

its due in 3 hours but I can still submit it tomorrow for point deduction..

#what.s program:

.dataarg:.word5.text.globl mainmain:la$t3, arglw$t2, 0($t3) lw$t3, 0($t3)addi$t1, $zero, 0beqz$t2, finfori:add$t1, $t1, $t2addi$t3, $t3, -1bnez$t3, forifin:li$v0, 10syscall

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Major Product Segments Sable Network Programming Relevision Ilmed Entertainment

Segment Revenue Vertical Analysis

Twenty-First Century Fox, Inc. is one of the world’s largest entertainment companies that includes Twentieth Century Fox films, Fox Broadcasting, Fox News, the FX, and various satellite properties. The company provided revenue disclosures by its major product segments in the notes to its financial statements as follows:

a. Using the revenue disclosures by major product segment listed below, provide a vertical analysis of the product segment revenues. Round all percentages to one decimal place.

Major Product SegmentsSable Network Programmingrelevision =ilmed Entertainment Direct Broadcast Satellite Television rotal revenues For a Recent Year (in millions)$13,7734,8959,5252,112 $30,305 Pe rce nt (”10) %%% % DEED 100.0%

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Mahogany Made A 30 000 Cash Distribution To Jen Immediately Before The Sale Whil

Mahogany made a $30,000 cash distribution to Jen immediately before the sale, while Jason received a $60,000 cash distribution from Mahogany on November 1. As of the beginning of the current year, Mahogany had $16,000 in accumulated E & P, while current E & P (before distributions) was $30,000. Which of the following statements is correct?

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Make A List Of At Least Three Pros And Three Cons Of The Health Insurance Portab

make a list of at least three pros and three cons of the Health Insurance Portability and Accountability Act (HIPAA), including a brief explanation about each. Given the pros and cons you listed and the HIPAA information you read, is HIPAA generally a good thing? What might you change in order to improve HIPAA and eliminate some of the negative aspects?

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Make A List Of 8 Topics Peoples Events Or Ideas That You Believe A Teacher Must

  • Make a list of 8 topics, peoples, events, or ideas that you believe a teacher must cover in order to effectively teach the American Revolution.
  • For each topic students must include a 3 sentence description of the person, event, topic, or idea.
  • Second, include a 5 sentence explanation clarifying why this person, event, topic, or idea is an absolute must and what it makes clear about the 1760s-80s.
  • Make sure to provide full references for each item on your list for where you got your information.
 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Make A Graph To Display The Distribution Of Doctors Per 100 000 People Write A B

Make a graph to display the distribution of doctors per 100,000 people.Write a brief description of the distribution.Are there any outliers?If so, can you explain them.Alabama 202 Alaska 194 Arizona 196 Arkansas 194 California 252 Colorado 236 Connecticut 360 Delaware 242 Florida 237 Georgia 208 Hawaii 280 Idaho 161 Illinois 265 Indiana 207 Iowa 178 Kansas 210 Kentucky 219 Louisiana 258 Maine 250 Maryland 378 Massachusetts 427 Michigan 230 Minnesota 263 Mississippi 171 Missouri 233 Montana 215 Nebraska 230 Nevada 174 New Hampshire 251 New Jersey 305 New Mexico 222 New York 385 North Carolina 241 North Dakota 228 Ohio 248 Oklahoma 163 Oregon 242 Pennsylvania 291 Rhode Island 341 South Carolina 219 South Dakota 201 Tennessee 250 Texas 204 Utah 200 Vermont 346 Virginia 253 Washington 250 West Virginia 221 Wisconsin 256 Wyoming 176 District of Columbia 683

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Make A Form That Might Be Used To In A Childhood Education And Care Service To G

Make a form that might be used to in a childhood education and care service to give family members an opportunity to provide feedback and ideas about the current curriculum, learning environments,current strengths and goals of the curriculum. The form should also allow family members to have input into any decisions being made about current issues.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Make A Form And Answer Questions

Make a form and answer questions.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Make A Flow Chart Follow The Influence Of Light On A Single Peripheral Rod Cell

MAKE A FLOW CHART Follow the influence of light on a single peripheral rod cell and explain what happens at the pigment, the cell membrane, the cell terminus, the other retinal cells and the path to the occipital lobe

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Make A Class Circle With One Instance Variable Of Type Double Called Radius

make a class Circle with one instance variable of type double called radius. Then define an appropriate constructor that takes an initial value for the radius, get and set methods for the radius, and methods getArea and getPerimeter.

make a class RightTriangle with three instance variables of type double called base, height, and hypotenuse. Then define an appropriate constructor that takes initial values for the base and height and calculates the hypotenuse, a single set method which takes new values for base and height and calculates the hypotenuse, get methods for all three instance variables, and methods getArea and getPerimeter.

Then make a test application which queries the user for the needed data to create two Circle objects and two RightTriangle objects. It will then display all information about the four objects. It should then display which Circle object has the largest area and which RightTriangle object has the largest area.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW