Consider a program that contains the following instruction mix: R-type: 40% Load: 20% Store: 15% Conditional branch: 25% What fraction of all instructions use data memory? What fraction of all instructions use instruction memory? What fraction of all instructions use the sign extender?
Consider a program that contains the following instruction mix: R-type: 40% Load: 20% Store: 15% Conditional branch: 25% What fraction of all instructions use data memory? What fraction of all instructions use instruction memory? What fraction of all instructions use the sign extender?
Chapter3: Data Representation
Section: Chapter Questions
Problem 3RP
Related questions
Topic Video
Question
Consider a program that contains the following instruction mix:
- R-type: 40%
- Load: 20%
- Store: 15%
- Conditional branch: 25%
-
- What fraction of all instructions use data memory?
- What fraction of all instructions use instruction memory?
- What fraction of all instructions use the sign extender?
![PC
Read
address
Add
Instruction
Instruction
memory
Read
register 1
Read
register 2
Registers Read
data 2
Write
register
Write
data
RegWrite
Read
data 1
16
Sign-
extend
32
Shift
left 2
ALUSrc
E3X
Add
ALU
result
ALU operation
Zero
ALU ALU
PCSrc
result
Address
MemWrite
MemRead
Read
data
Write Data
data
memory
MemtoReg
MUX](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fe6dc4d96-b01d-4c3c-9cb2-7d644d0446d1%2F4b97a318-2447-44cb-bf89-b8610540bb02%2Far0hxym_processed.jpeg&w=3840&q=75)
Transcribed Image Text:PC
Read
address
Add
Instruction
Instruction
memory
Read
register 1
Read
register 2
Registers Read
data 2
Write
register
Write
data
RegWrite
Read
data 1
16
Sign-
extend
32
Shift
left 2
ALUSrc
E3X
Add
ALU
result
ALU operation
Zero
ALU ALU
PCSrc
result
Address
MemWrite
MemRead
Read
data
Write Data
data
memory
MemtoReg
MUX
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Systems Architecture](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
![Fundamentals of Information Systems](https://www.bartleby.com/isbn_cover_images/9781305082168/9781305082168_smallCoverImage.gif)
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
![Systems Architecture](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
![Fundamentals of Information Systems](https://www.bartleby.com/isbn_cover_images/9781305082168/9781305082168_smallCoverImage.gif)
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning