Question: Given the following MIPS assembly language code: I0: ADD $4, $1, $0 I1: SUB $9, $3, $4 I2: ADD $4, $5, $6 I3: LW $2,
Given the following MIPS assembly language code:
I0: ADD $4, $1, $0
I1: SUB $9, $3, $4
I2: ADD $4, $5, $6
I3: LW $2, 100($3)
I4: LW $2, 0($2)
I5: SW $2, 100($4)
I6: AND $2, $2, $1
I7: BEQ $9, $1, Target
I8: AND $9, $9, $1
Find out the execution time of all of these insruction. Conisder that you are using 5-stage pipeline structure as discussed in the class. Clearly show the intermediate steps also
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
