Register mapping and then any possible

Assignment Help Basic Computer Science
Reference no: EM13163599

A RISC machine may do both a mapping of symbolic registers to actual registers and a rearrangement of instructions for pipeline efficiency. An interesting question arises a to the order in which these operations should be done. Consider the following program fragment:
LD SR1, A
LD SR2, B
ADD SR3, SR1, SR2
LD SR4, C
LD SR5, D
ADD SR6, SR4, SR5

First do the register mapping and then any possible instruction reordering. How many machine registers are used? Has there been any pipeline improvement?
Starting with the original program, now do the instruction reordering and then any possible mapping. How many machine registers are used? Has there been any pipeline improvement?

Reference no: EM13163599

Questions Cloud

Explain prime and delta h prime make a greater contribution : Predict the following Bronsted acid-base reaction at 25 C: HF+CL- -> HCL + F- (a)Predict whether K will be greater or smaller than one? (b)Does delta S prime and delta H prime make a greater contribution to delta G prime?
Multiplexors whose control bit allows : Multiplexors whose control bit allows you to select between one of two modes right shift or left shift. Include logic to perform arithmetic shift left and arithmetic shift right . This means you must include logic to perform sign extension in ..
Determine delta h of solution smaller temperature change : experiment to determine delta H of solution, would you expect to get a larger, smaller or identical temperature change? why?
Write a method called makerow : Write a method called makeRow that is passed two arguments: an int and a String. It returns a String containing n copies of s, concatenated in a row. For instance, if we call the method with makeRow(5, "*"), the method returns *****.
Register mapping and then any possible : First do the register mapping and then any possible instruction reordering. How many machine registers are used? Has there been any pipeline improvement?
State an aqueous solution containing an unknown molecular : An aqueous solution containing 15.6 g of an unknown molecular (nonelectrolyte) compound in 109.5g of water was found to have a freezing point of -1.9 degrees C.
Compute the ph of the buffer that reults from mixing : Calculate the pH of a buffer solution that is 0.200 M HC2H3O2 and 0.100 M in NaC2H3O2. Calculate the pH of the buffer that reults from mixing
Explain what is the rate of the above reaction : What is the rate of the above reaction? What is the closest numerical value of K for the above reaction? What are the units for the rate constant for the reaction?
State ammonium carbamate found in urine of mammals : Ammonium carbamate (NH2COONH4) is found in the blood and urine of mammals. At a temperature of 466 K, Kc = 0.080 for the following equilibrium: NH2COONH4(s) 2 NH3(g) + CO2(g). If 10.2 g of ammonium carbamate is introduced into a 0.500 L containe..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Calculate a checksum as ones-complement sum

Calculate a checksum as ones-complement sum of following 8-bit words #1 through #4, and then ones-complement that sum. Illustrate the 8-bit result.

  Explaining discrete-time system which moves between states

A decision maker observes a discrete-time system which moves between states {s1,s2,s3,s4} according to the following transition probability matrix?

  Code (sketch) for an arduino uno microcontroller

Code (sketch) for an arduino uno microcontroller that will be connected to an MT8870 decoder chip. This chip decodes the signal it receives from a phone mic as a dtmf (dual tone multiple frequency) signal. Then the decoder chip translates the tones i..

  Role of integrating business management cpabilities

How you see you role in integrating software, hardware, and business management cpabilities? What challenges do you anticipate encounting as head of of the IT management effort at Magnum?

  Minimum-spanning-tree problem for lp formulation

The minimum-spanning-tree problem is to find an acyclic subset T + E that connects all of the vertices and whose total weight c(T ) = ce is minimized. Write down the dual of your LP formulation.

  Cpu-best performance improvement for least amount of money

Suppose the daytime processing load consists of 60% CPU activityand 40% disk activity. Your customers are complaining that thesystem is slow. Which would you choose to yield the best performance improvement for the least amount of money?

  Distinguish between software agents and pieces of software

How would you distinguish between software agents and other pieces of software? Is the electronic calendar like the one given by MS Office agent?

  Provide explanation for why tablespace might have problem

Provide explanation for why your tablespace might have problem, and write at least two actions you can take to lessen the problem

  Write a version of sum pairs i that sums each component

Using SML write a version of sumPairs that sums each component of the pairs separately, returning a pair consisting of the sumof the first components and the sum of the second components

  A photo-sharing startup offers

A photo-sharing startup offers the following service. A client may upload any number N of photos and the server will compare each of the N pairs of photos with their proprietary image matching algorithms to see if there is any person that is in both ..

  How can you quickly investigate and collect digital evidence

Prepaid cell phones make forensic investigation much hard. Discuss how can you quickly investigate and collect digital evidence for a crime what involves a phone call.

  Distinguish distances that moved their shopping carts

Performing 200 Nm of work. Both Brian and Dawn are exerting same amount of force (20 N). Distinguish the distances that Brian and Dawn moved their shopping carts.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd