Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 4 : In a Six Stages Pipeline machine; consider the following program fragment: table [ [ I n s t r u c

Q4: In a Six Stages Pipeline machine; consider the following program fragment:
\table[[InstructionAddress,,Instruction],[300,,Code,],[302,SUB,CE_AQU,X, X],[304,MOV,Y,5,],[306,SUB,Y, X,],[308,BRZ,328,//Branch if O],[306,LD Z, M[W],,],[*,*,,],[*,*,,],[328,INC,X,],[330,ENDP,,]]
With Branch is resolved at the end of the El stage (fifth stage), calculate the following if;
A. Branch instruction is Not Taken:
Total # of instructions executed =
Total # of clock cycles required =
CPI =
B. Branch instruction is Taken:
Total # of instructions executed =
Total # of clock cycles required =
CPI =
The branch penalty? =
time cycles
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions

Question

Identify the different methods employed in the selection process.

Answered: 1 week ago

Question

Demonstrate the difference between ability and personality tests.

Answered: 1 week ago