in CO and Architecture
483 views
1 vote
1 vote
How many cycles will be required to fetch an operand if we are using "BASE INDEX' addressing mode, and ALU computation takes 2 cycles, register reference takes 1 cycle and memory reference takes 4 cycles each respectively   ?
in CO and Architecture
483 views

3 Comments

7  ?
0
0
Yes, But could you please elaborate the solution, I was getting 10 (2 register references 1 for base register and 1 for index register, 2 ALU computations(base+index+instruction offset),1 memory reference).
Please correct where I am wrong in my approach.
0
0
I did like this

1 : Ref to base reg + 2 : Add address provided in instruction to base reg and calculate effective address + 4 : Fetch the word from the address
0
0

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
3