PROBLEM-3: Consider the following code fragment to be executed inanstage pipeline machine resolved at the end of the 6th stage Assume byte addressable memory PKaddress in hesadecimal 008 O0A Instruction PROC AQU XOR 100 BNE R1, R2, +8 102 120 INT 21 122 ENDP Answer the following questions. Show your work for each question: L What is the number of pipeline fil cycles? H. Explain using RTL notation what happens during the Fetch, Decode, and the BNE instruction? . How many cycles could be the branch penalty? fress, in decimal?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%
PROBLEM-3:
Consider the following code fragment to be executedin an stage pipeline machine w
resolved at the end of the Gth stage. Assume byte addressable memory
PC address in hexadecimal
008
O0A
Instruction
PROC AQU
XOR
X, Y
100
BNE R1, R2, +8
102
120
INT 21
122
ENDP
Answer the following questions. Show your work for each question:
i. What is the number of pipeline fill cycles?
IL Explain using RTL notation what happens during the Fetch, Decode, and Exe
the BNE instruction?
ill. How many cycles could be the branch penalty?
iv. Calculate the Branch target address, in decimal?
v. Calculate the CPI when executing the above code, for the following two
a. If Branch is never taken
b. If Branch is taken.
Transcribed Image Text:PROBLEM-3: Consider the following code fragment to be executedin an stage pipeline machine w resolved at the end of the Gth stage. Assume byte addressable memory PC address in hexadecimal 008 O0A Instruction PROC AQU XOR X, Y 100 BNE R1, R2, +8 102 120 INT 21 122 ENDP Answer the following questions. Show your work for each question: i. What is the number of pipeline fill cycles? IL Explain using RTL notation what happens during the Fetch, Decode, and Exe the BNE instruction? ill. How many cycles could be the branch penalty? iv. Calculate the Branch target address, in decimal? v. Calculate the CPI when executing the above code, for the following two a. If Branch is never taken b. If Branch is taken.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY