1 Answers
Option 3 : 3, 5, 2, 1, 4
Concept:
While executing a micro-instruction such as R0 ← R1 + R2, the CPU performs various micro-operations. Each of this micro-operation is performed in one time cycle.
Execution:
Step 1:
Fetch the instruction. Initially, the address of the instruction to be executed in Program Counter (PC). It is moved from PC to Memory Address Register (MAR). This is done via micro-operation PCr, MARw, MEMr
Step 2:
Once the instruction has been fetched, in next single time cycle, it is placed into Memory Data Register (MDR) and then to Instruction Register (IR). This is done via micro-operation MDRr, IRw
Step 3:
Operand Fetching and Decoding of contents from Register R1 and place it into temporary register Temp1 via micro- operation R1r, TEMP1w
Step 4:
Contents of Register R2 is decoded and ALU performs the addition of fetched content of Temp1 and R2 and place it into Temp2 via micro-operation R2r, TEMP1f, ALUadd, TEMP2w
Step 5:
Finally, the content of Temp2 is moved into the target register R0 via micro-operation TEMP2r, R0w