Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q4: In a Six Stages Pipeline machine; consider the following program fragment: Instruction Instruction Address Code 300 PROCCE_AQU 302 SUB X, X 304 MOV Y,5

image text in transcribed

Q4: In a Six Stages Pipeline machine; consider the following program fragment: Instruction Instruction Address Code 300 PROCCE_AQU 302 SUB 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

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

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions