Consider a 32 bit hypothetical processor used to execute the following programme segement
INST // MEANING // SIZE(IN WORDS)
MOV R0, @3000 // R0 <- M[[3000]] // 2
MOV R1, [2000] // R1 <- M[2000] // 1
ADD R0, R1 // R0 <- R0 + R1 // 1
MUL R0, @ 4000 // R0 <- R0 * M[[4000]] // 2
MOV @R1, R0 // M[[R1]] <- R0 // 2
HALT // MACHINE HALT // 1
Assume that processor is executing with a 2ns clock cycle, memory ref comsume four cycle, ALU operation consume 2 cycle and register refernces consume 0 cycle, what is the executinion time of the program?
Determine the number of memory referneces required in Instruction Fetch Phase and Execution Phase state.