ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 09 May 2017 My Price 9.00

CISC 6200 Computer Organization

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:

Answers

(11)
Status NEW Posted 09 May 2017 06:05 AM My Price 9.00

-----------

Attachments

file 1494310993-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)