The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Hi,Â
I need help with this assignment. Please find the attachment.
Thanks,
Â
CISC 6200 Computer OrganizationAssignment 4Out 11/3; Due 11/17Q1.(a) What programming conventions relate to the use of the s, a, and v registers in MIPS?(b) What special function do the ra and sp registers perform in MIPS?Q2.(a) You need to save the values in the a0, a1, and s0 registers on the stack, write MIPS assemblerto do this(b) You need to restore the values you saved above from the stack back into the registers, writeMIPS assembler to do thisQ3.(i) Calculate the time necessary to perform a multiply using the algorithm in section 3.3 of thetext (the shift and add algorithm covered in class) if an integer is A bits wide and each step of theoperation takes B time units. You can assume that an addition step is always done (either a 0 or acopy of the multiplicand). You can also assume that all the registers have been loaded and areready to go and that the algorithm is being performed in software.(ii) If this is being done in hardware then the shifts of multiplier and multiplicand can be done inparallel. How would this affect the time?(iii) Consider the parallel implementation of multiplication covered in class and at the end ofsection 3.3 in the text. Calculate the time necessary with that method to perform a multiply if aninteger is A bits wide and each adder takes B time units.Q4. Consider the following two bit patterns:a.0x24A60004b.0xAFBF0000(i)What decimal number does each of (a) and (b) represent if it is a two’s complement integer?(ii)What decimal number does each of (a) and (b) represent if it is an unsigned integer?(iii)If each of (a) and (b) is placed into the Instruction Register, what MIPS instruction willexecute?(iv)What decimal number does each of (a) and (b) represent if it is a floating point number (IEEE754 standard)?Q5.Consider the following two numbers:a.-1609.5b.-938.8125(i)Write down the binary representation of each of (a) and (b) in IEEE 754 single precisionformat.(ii)Write down the binary representation of each of (a) and (b) in IEEE 754 double precisionformat.
Attachments:
-----------