Question: Consider the following code segment. OO CLR MOV.W MOV.W MOV.B BIT.W Inxt: JNZ NOLD CO JO AWN R12 mylw, R6 #2, B5 716, R7 R5,



Consider the following code segment. OO CLR MOV.W MOV.W MOV.B BIT.W Inxt: JNZ NOLD CO JO AWN R12 mylw, R6 #2, B5 716, R7 R5, B6 1skip R12 R6 R7 Inxt R12, 22001 INC 1skip: RRA.W DEC.B JNZ MOV.B 13 mylw: long Oxec9227D (15 points) What does this code segment do? Explain your answer. 3.D. (5 points) Calculate the total execution time in seconds for the code sequence from above (line 01 - line 11). We know the following: the average CPI is 2 clocks per instruction. Assume the clock frequency is 1 MHz. What is MIPS rate for this code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
