• retagged by
28,375 views
91 91 votes

Which of the following is/are true of the auto-increment addressing mode?

  1. It is useful in creating self-relocating code

  2. If it is included in an Instruction Set Architecture, then an additional ALU is required for effective address calculation

  3. The amount of increment depends on the size of the data item accessed

  1. I only
  2. II only
  3. III only
  4. II and III only

6 Answers

Best answer
147 147 votes

In auto increment addressing mode, the base address is incremented after operand fetch. This is useful in fetching elements from an array. But this has no effect in self-relocating code (where code can be loaded to any address) as this works on the basis of an initial base address. 

An additional ALU is desirable for better execution especially with pipelining, but never a necessity. 

Amount of increment depends on the size of the data item accessed as there is no need to fetch a part of a data. 

So, answer must be C only. 

• edited by
10 10 votes
Correct answer (C)

Auto increment mode is used for incrementing and depends on size of data.
0 0 votes
After determining the effective address, the value in the base register is incremented by the size of the data item that is to be accessed.
For example, (A7)+ would access the content of the address register A7, then increase the address pointer of A7 by 1 (usually 1 word). Within a loop, this addressing mode can be used to step through all the elements of an array or vector.

So, option (C) is right
0 0 votes

Ans:(C) 

No relocation required. And no additional ALU is required for Effective Address Calculation 

Answer:
Position:
Show:

Related questions

48 48 votes
3 answers 3 answers
26.7k
26.7k views
Kathleen asked Sep 12, 2014
26,702 views
The use of multiple register windows with overlap causes a reduction in the number of memory accesses for:Function locals and parametersRegister saves and restoresInstruc...
74 74 votes
4 answers 4 answers
35.4k
35.4k views
Kathleen asked Sep 12, 2014
35,430 views
Which of the following are NOT true in a pipelined processor?Bypassing can handle all RAW hazardsRegister renaming can eliminate all register carried WAR hazardsControl h...
58 58 votes
6 answers 6 answers
24.8k
24.8k views
Kathleen asked Sep 12, 2014
24,831 views
Which of the following statements about synchronous and asynchronous I/O is NOT true?An ISR is invoked on completion of I/O in synchronous I/O but not in asynchronous I/O...
74 74 votes
4 answers 4 answers
23.5k
23.5k views
Ishrat Jahan asked Oct 31, 2014
23,538 views
Which of the following statements about relative addressing mode is FALSE?It enables reduced instruction sizeIt allows indexing of array element with same instructionIt e...