Central Processing Unit Q.10

0. Consider the following program segment for a hypothetical CPU having three user registers R1, R2 and R3.

Consider the following program segment for a
hypothetical CPU having three user registers R1,
R2 and R3

Let the clock cycles required for various operations be as follows :
Register to/from memory transfer.
3 clock cycles
ADD with both operands in register.
1 clock cycles
Instruction fetch and decode :
2 clock cycles per word
The total number of clock cycles required to execute the program is

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *