Page 1 of 1

A microprocessor has Five internal units: IF, ID, OF, EX and ST. Each processing unit takes one unit of time to complete

Posted: Sun May 15, 2022 8:17 am
by answerhappygod
A Microprocessor Has Five Internal Units If Id Of Ex And St Each Processing Unit Takes One Unit Of Time To Complete 1
A Microprocessor Has Five Internal Units If Id Of Ex And St Each Processing Unit Takes One Unit Of Time To Complete 1 (41.22 KiB) Viewed 52 times
A microprocessor has Five internal units: IF, ID, OF, EX and ST. Each processing unit takes one unit of time to complete. Suppose that hazards are recognized at the ID in the pipeline, but that subsequent instructions are allowed to pass through the pipeline. Assume 2-way memory interleaved. Assume only IF, OF, and ST require memory accesses. Calculate the overall processing unit of time for the following sequence of instructions. Show your work using the matrix provided. 1) LD R1, [100] /* Rs are local register in CPU */ 2) LD R2, [200] /* [xx] means location in memory */ 3) ADD [200], [200], R2 4) ST [300], R1 5) LD R1, [300] 6) ADD [300],[300], R1 7) LD R2, [300] 8) ADD [300],[100], R2 ST EX OF ID IF