retagged by
1,976 views
4 votes
4 votes
How many memory cycles are required with following Addressing modes?

1. Indirect mode : 2

2. Absolute mode :1

3.Indexed Mode : Confusion here as offset is a constant so according to me it should be there in memory so 1 clock cyle to fetch constant and one for the Effective address so should it be 2.

 

4.Relative mode : 1 machine cycle

5. Register indirect mode : 1 machine cycle

Am i right ?

and local variables mostly  uses direct addressing mode right ?
retagged by

2 Answers

1 votes
1 votes

In Direct Addressing / Absolute Mode the operand is specified in memory address(memory location) along with the Opcode.
 
And if by "Machine Cycles"  you mean Memory Reference then you might be wrong in case of  Indexed mode as memory is accessed just once  , as Index Register is in CPU , so memory reference should to be 1.

Source-https://www.youtube.com/watch?v=SF-7zPMIdI0&index=6&list=PLXVjll7-2kRnTATmq-BWcHuTvmQOUprSC

0 votes
0 votes
Register Indirect Will take 2 cycle .

Related questions

0 votes
0 votes
1 answer
1
lea asked Jun 12, 2023
291 views
0 votes
0 votes
1 answer
2
Aaryan_Sharma asked Dec 30, 2022
371 views
When we write MOV #1000 , it means we are writing the value 1000 into the accumulator. But when we write MOV 1000 here 1000 refers to address of what ? register or MM ? (...
2 votes
2 votes
1 answer
3
Subbu. asked Jul 14, 2022
496 views
Could you please explain How we can implement indirect addressing mode using Index addressing mode.. and vice versa..??