Multiple choice

Let the clock cycles required for various operations be as follows: Register to/from memory transfer: 3 clock cycles Add with both operand in register: 1 clock cycle Instruction fetch and decode: 2 clock cycles per word

The total number of clock cycles required to execute the program, is

  1. 29

  2. 24

  3. 23

  4. 20

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The clock cycles are per block; if an instruction size is 2 then it requires twice no. of clock cycles.

So answer is (2).