GATE | GATE CS 2008 | Question 32

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

I.  It is useful in creating self-relocating code.
II. If it is included in an Instruction Set Architecture, 
    then an additional ALU is required for effective address 
    calculation.
III.The amount of increment depends on the size of the data
     item accessed.

(A) I only
(B) II only
(C) III Only
(D) II and III only


Answer: (C)

Explanation: In auto-increment addressing mode the address where next data block to be stored is generated automatically depending upon the size of single data item required to store.

Self relocating code takes always some address in memory and statement says that this mode is used for self relocating code so option 1 is incorrect and  no additional ALU is required So option (C) is correct option.

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.