1 what is the difference between multiprogramming and


1.) What is the difference between multiprogramming and multi-threading?

2.) a) Why should assembly language be avoided for general application development?

b) Under what circumstances would you argue in favor of using assembly language for developing an assembly language program?

c) What are the advantages of using a compiled language over an interpreted one?

d) Under what circumstances would you choose to use an interpreted language?

3. a) A RISC processor has 298 total registers with 10 designated as global registers.

Each register window has 32 registers with 12 containing local variables.

How many register windows are available for use? _______

How many registers would be available for us by input variables? _______

How many registers would be available for use by output variables? _______

Show your work

b) Indicate whether each of the following applies to CISC or RISC by placing either a C (for CISC) or an R (for RISC) in the blank.

_ ____ Highly pipelined.

_ ____ Any instruction can reference memory.

_ ____ Instructions are interpreted by the microprogram.

______ Fixed length, easily decoded instruction format.

_ ____ Highly specialized, infrequently used instructions.

4.. Consider a CPU that implements two parallel fetch-execute pipelines for superscalar processing. Show the performance improvement over scalar pipeline processing and no-pipeline processing, assuming the instruction cycle below:

a one clock cycle fetch

a one clock cycle decode

a three clock cycle execute

and a 50 instruction sequence:

a) No pipelining would require _____ clock cycles:

b) A scalar pipeline would require ____ clock cycles:

c) A superscalar pipeline with two parallel units would require ______ clock cycles: show your work

5.) What is the difference between the superscalar and superpipelined approaches?

6.) Does RISC provide better performance today than CISC? Provide the references you used to support your position.

Solution Preview :

Prepared by a verified Expert
Microeconomics: 1 what is the difference between multiprogramming and
Reference No:- TGS01386312

Now Priced at $30 (50% Discount)

Recommended (90%)

Rated (4.3/5)