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!"
Magnesium Metal 0 0280 G Reacts With Aqueous Hydrochloric Acid 0 300 M 25 00 Ml
/in Uncategorized /by developerMagnesium metal (0.0280 g) reacts with aqueous hydrochloric acid (0.300 M, 25.00 mL) to generate 23.50 mL of hydrogen gas at 26 C and 758 mm Hg. Calculate the percent yield for this reaction. Magnesium chloride is a side-product.
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Magnesium Metal Is Placed In Contact With An Underground Steel Storage Tank To I
/in Uncategorized /by developerMagnesium metal is placed in contact with anunderground steel storage tank to inhibit thecorrosion of the tank because1. magnesium has a lower oxidation poten-tial than iron.2. magnesium is cheaper than gold.3. magnesium metal is a better reducingagent than iron.4. magnesium functions as the cathode inthe electrochemical cell instead of the iron.5. magnesium has a higher reduction poten-tial than iron.
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Magnesium Mg Emits Two Very Closely Spaced Lines In The Green At 617 Nm And 618
/in Uncategorized /by developermagnesium (Mg) emits two very closely spaced lines in the green at 617 nm and 618 nm.
A) Which of the two lines is associated with large energy photon? ____nm
B) Which of the two lines has a larger frequency? ____nm
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Magnolia Inc Manufactures Bedding Sets The Budgeted Production Is For 55 000 Com
/in Uncategorized /by developerMagnolia, Inc. manufactures bedding sets. The budgeted production is for 55,000 comforters in 2010. Each comforter requires 7 yards of material. The estimated January 1, 2010, beginning inventory is 31,000 yards. The desired ending balance is 30,000 yards of material. If the material costs $4.00 per yard, determine the materials budget for 2010.
Magnolia, Inc. manufactures bedding sets. The budgeted production is for 55,000 comforters in 2010. Each comforter requires 7 yards of material. The estimatedJanuary 1, 2010, beginning inventory…
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Mahmud Is 13 And Has Lived All His Life In Rural Northwest Pakistan Michael Also
/in Uncategorized /by developerMahmud is 13 and has lived all his life in rural northwest Pakistan. Michael, also 13, grew up in Washington, D. C. Knowing only this information, you should expect that _____________________________.
a. Mahmud is much more likely to be influenced by collectivist cultural values, including ideas about the role of girls and women in society.
b. Nowadays, Michael and Mahmud are likely to have the same cultural values, due to the power of modern communications technology that is “homogenizing” the world.
c. Mahmud’s and Michael’s cultural values are bound t become more individualistic as they mature and become adults.
d. Michael is more likely to share an increasing number of collectivist cultural values with Mahmud, because Michael lives in a densely populated city where there is little room for individualistic values
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Mahogany Made A 30 000 Cash Distribution To Jen Immediately Before The Sale Whil
/in Uncategorized /by developerMahogany 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!"
Main Fori Data Word 5 Text
/in Uncategorized /by developerPlsss 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!"
Main Idea For This Paragraph Smoking Ages Your Skin And Causes Wrinkles Especial
/in Uncategorized /by developermain idea for this paragraph.
Smoking ages your skin and causes wrinkles, especially around the face and mouth. A thirty-year-old person who has been smoking for ten years may be mistaken for 40 or even older because of his or her poor skin quality. It also discolors your teeth and fingers, giving them an unattractive, yellowish color. Would you want to kiss a mouth full of all those yellow teeth? Or worse, a mouth with missing teeth caused by gum disease and tooth loss? In addition, smoking can actually affect your body shape. Studies have shown that in smokers, more fat is stored around the waist and upper body than around the hips. Smoking can actually give you a rounder shape.
main idea for this paragraph.
Cigarette smoke permeates your hair and clothing. People can tell you have been smoking long after you have finished. How often have you come back from a break only to smell the odor of cigarettes surrounding a smoking co-worker? In addition, smoke particles can be as small as .001% the width of a human hair, which allows them to penetrate almost any part of a house. The smell can seep into carpet, furniture, and even walls. Even if a person stops smoking for a few days before guests arrive, a non-smoking guest will be able to tell that smoking has occurred.
main idea for this paragraph.
Nine out of ten cases of lung cancer are caused by smoking. Smoking can also cause severe breathing problems, causing heavy coughing and trouble inhaling. As if that weren’t bad enough, smokers are ten times more likely to die from heart attacks or stroke. Smoking causes major damage to the veins and arteries, too. Many long-term smokers suffer from peripheral vascular disease, which narrows their blood vessels, causing gangrene in the fingers, toes, arms, and legs. In severe cases, amputation of the affected areas becomes necessary.
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Main Ideas And Thesis Sentences Are Really Two Sides Of The Same Coin Writers Cr 2
/in Uncategorized /by developerMain ideas and thesis sentences are really two sides of the same coin. Writers create thesis sentences. Readers pick out the main idea from what they read, which is usually the thesis sentence of the writer.
Locate one additional article related to one of this week’s case study topics, other than the one you used in Week 1 Discussion.
ALSO A SEPRATE ASSIGNMENT IS ALSO DUE
Assignment 3: Case Study Selection
By Day 7
Select one of the three case studies introduced in Week 1 to be the focus of your Final Project. The Final Project will be a persuasive essay that is 5 pages in length. Going forward, you will focus all of your attention on your chosen case study. Therefore, it is important to choose the one that interests you the most.
Note: This Assignment is ungraded and you will not submit anything, but it is required, as it is necessary for you to begin working on your Final Project.
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Main Idr Re Oxcafelogo Idr R1 Oxffff Your Code Goes Here When It S All Done Spin
/in Uncategorized /by developerGiven the following piece of code in ARM assembly code:
I need to use a logical shift operation to put the following into the listed registers.
main :"Idr re, = OxcafelogoIdr r1 , = Oxffff@ your code goes here@ when it’s all done , spin in an infinite looploop :"nopb loop
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"