Docsity

Assignment 5 - Computer Architecture and Organization | ECE 337, Assignments of Computer Architecture and Organization

Toggle sidebar
bg1
ECE337 / CS341, Fall 2005
Introduction to Computer Architecture and Organization
Instructor: Victor Manuel Murray Herrera
Homework # 5
Instructions:
• Date Assigned: 11/30/05, 5:30 PM
• Due back: 12/06/05, 8:00 AM
• Answer in a clear, direct and brief form.
• Any question, doubt, suggestion or recommendation, write an email as soon as
possible to: [email protected]. Remember that the goal is to learn as much as
possible in a good class environment.
Chapter 12:
12.1 What general roles are performed by CPU registers?
12.2 What categories of data are commonly supported by user-visible registers?
12.3 What is the function of condition codes?
12.4 What is a program status word?
12.5 Why is a two-stage instruction pipeline unlikely to cut the instruction cycle
time in half, compared with the use of no pipeline?
12.6 List and briefly explain various ways in which an instruction pipeline can
deal with conditional branch instructions.
12.7 How is history bits used for branch prediction?
Chapter 13:
13.1 What are some typical distinguishing characteristics of RISC organization?
13.2 Briefly explain the two basic approaches used to minimize register-memory
operations on RISC machines.
13.3 If a circular register buffer is used to handle local variables for nested
procedures, describe two approaches for handling global variables.
13.4 What are some typical characteristics of a RISC instruction set architecture?
13.5*** What is a delayed branch? And an optimized delayed branch?
Chapter 16:
16.1 Explain the distinction between the written sequence and the time sequence
of an instruction.
16.2 What is the relationship between instructions and micro-operations?
16.3 What is the overall function of a processor’s control unit?
16.4 Outline a three-step process that leads to a characterization of the control
unit.
pf2

Partial preview of the text

Download Assignment 5 - Computer Architecture and Organization | ECE 337 and more Assignments Computer Architecture and Organization in PDF only on Docsity!

ECE337 / CS341, Fall 2005 Introduction to Computer Architecture and Organization Instructor: Victor Manuel Murray Herrera

Homework # 5

Instructions:

  • Date Assigned: 11/30/05, 5:30 PM
  • Due back: 12/06/05, 8:00 AM
  • Answer in a clear, direct and brief form.
  • Any question, doubt, suggestion or recommendation, write an email as soon as possible to: [email protected]. Remember that the goal is to learn as much as possible in a good class environment.

Chapter 12:

12.1 What general roles are performed by CPU registers? 12.2 What categories of data are commonly supported by user-visible registers? 12.3 What is the function of condition codes? 12.4 What is a program status word? 12.5 Why is a two-stage instruction pipeline unlikely to cut the instruction cycle time in half, compared with the use of no pipeline? 12.6 List and briefly explain various ways in which an instruction pipeline can deal with conditional branch instructions. 12.7 How is history bits used for branch prediction?

Chapter 13:

13.1 What are some typical distinguishing characteristics of RISC organization? 13.2 Briefly explain the two basic approaches used to minimize register-memory operations on RISC machines. 13.3 If a circular register buffer is used to handle local variables for nested procedures, describe two approaches for handling global variables. 13.4 What are some typical characteristics of a RISC instruction set architecture? **13.5***** What is a delayed branch? And an optimized delayed branch?

Chapter 16:

16.1 Explain the distinction between the written sequence and the time sequence of an instruction. 16.2 What is the relationship between instructions and micro-operations? 16.3 What is the overall function of a processor’s control unit? 16.4 Outline a three-step process that leads to a characterization of the control unit.

16.5 What basic tasks does a control unit perform? 16.6 Provide a typical list of the inputs and outputs of a control unit. 16.7 List three types of control signals. 16.8 Briefly explain what is meant by a hardwired implementation of a control unit.

Chapter 17:

17.1 What is the difference between a hardwired implementation and a microprogrammed implementation of a control unit? 17.2 How is a horizontal microinstruction interpreted? 17.3 What is the purpose of a control memory? 17 .4 What is the typical sequence in the execution of a horizontal microinstruction? 17.5 What is the difference between horizontal and vertical instructions? 17.6 What are the basic tasks performed by a microprogrammed control unit? 17.7 What is the difference between packed and unpacked microinstructions? 17.8 What is the difference between hard and soft microprogramming? 17.9 What is the difference between functional and resource encoding? 17.10 List some common applications of microprogramming.

Problems

  1. 16.2 (in both editions: 6th^ and 7th)

  2. Suppose that you are working in a research laboratory. The head of the project ask you your opinion to buy a computer, but the doubt is if to buy a CISC processor or and RISC processor. What things do you need to choose a CISC or a RISC? Which one will you buy?