in CO and Architecture recategorized by
316 views
0 votes
0 votes

 

in CO and Architecture recategorized by
by
316 views

2 Answers

6 votes
6 votes

In $PC$ $relative$ $mode$ we have to use the content of the address part of the instruction and the current PC value of the instruction which mean m{PC+ relative address(from operand info)] will give the effective address.So overall only one memory access we performed.


In simple $indirect$ $mode$ of access we perform an indirection to the effective address which means the operand info stores an address which holds the address of the operand(effective address) which unnecessarily increases the no of memory accesses and has no obvious benefit over the absolute mode .In deferred indirect mode we go for multiple levels of indirection.By default indirect means simple indirect mode which needs two memory accesses 


Clearly $O1$ requires$ 1$ and $O2$ requires $2$.
Hence correct answer is 3

0 votes
0 votes
1 for O1 and 2 for O2 so total 3

Related questions

0 votes
0 votes
0 answers
1