Question

1. What is the difference between multiprogramming and multiprocessing?
Multiprogramming and multithreading?
2. Why should assembly language be avoided for general application development?
Under what circumstances is assembly language preferred or required?
3. Under what circumstances would you argue in favor of using assembly language code for developing an application program?
4. What are the advantages of using a compiled language over an interpreted one?
Under what circumstances would you choose to use an interpreted language?
5. A RISC processor has 152 total registers, with 12 designated as global registers. The 10 register windows each have 6 input registers and 6 output registers. How many local registers are in each register window set?
6. 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.
a. _____ Simple instructions averaging one clock cycle to execute.
b. _____ Single register set.
c. _____ Complexity is in the compiler.
d. _____ Highly pipelined.
e. _____ Any instruction can reference memory.
f. _____ Instructions are interpreted by the microprogram.
g. _____ Fixed length, easily decoded instruction format.
h. _____ Highly specialized, infrequently used instructions.
i. _____ Use of overlapping register windows.
_____ Relatively few addressing modes.
2
For problems 7 through 9, 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 following.:
a one clock cycle fetch
a two clock cycle decode
a three clock cycle execute
and a 50 instruction sequence:
Show your work.
7. No pipelining would require _____ clock cycles:
8. A scalar pipeline would require _____ clock cycles:
9. A superscalar pipeline with two parallel units would require ______ clock cycles:
10.a. What is the essential characteristic of the superscalar approach to processor design?
b. What is the difference between the superscalar and superpipelined approaches?
11. Does RISC provide better performance today than CISC? Provide the references you used to support your position.

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

A: Multiprogramming involves concurrent execution for multiple processes on a single CPU. By comparison, “multiprocessing” represents situations from practice when multiple processors work on the execution of a single logical program. However, also multiprocessing is the situation when more than one process is simultaneously supported by the system. Multithreading can be executed on a single processor, but in this case it is supported the subdivision of a process into multiple threads of execution control for increasing the achieved concurrency....

This is only a preview of the solution. Please use the purchase button to see the entire solution

Assisting Tutor

Related Homework Solutions

Tomasulo's Approach - Short Report (840 words)
Homework Solution
$18.00
Tomasulo
Dynamic
Scheduling
Algorithm
Approach
Hazard
Pipeline
Stall
WAR
WAW
Scoreboard
Opcode
Instruction
Unit
CDB
Common
Data
Bus
Hardware
5 Problems with Virtual Memory and Cache Organization
Homework Solution
$23.00
Word
Memory
Direct
Mapped
Cache
Associative
Way
Block
Address
Tag
Field
Referrence
Main
Set
Page
Translation
Virtual
System
Physical
Logical
Frame
Page
Size
Table
Location
Management
Unit
Hexadecimal
Two Data Representation Questions
Homework Solution
$8.00
Sign
Magnitude
Overflow
Underflow
Complement
Toggle
Bit
Positive
Negative
8-bit
Decimal
Integer
Format
Calculate
Systems Architecture Questions
Homework Solution
$50.00
Systems Architecture
Non-Functional Properties
Performance
Complexity
Reliability
Martian Lander
Connectors
Get help from a qualified tutor
Live Chats