Which of the following is/are true of the auto-increment addressing mode?
It is useful in creating self-relocating code
If it is included in an Instruction Set Architecture, then an additional ALU is required for effective address calculation
The amount of increment depends on the size of the data item accessed
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.
1.self reallocating code required for displacement addressing mode.
2.in auto increment/decrement addressing mode , Register will be automatically incremented or decremented So, ALU is required. But additional ALU is not required.
@ rahul sharma 5 , in auto-increment/decrement mode the address of operand register is incremented/decremented by 1,2,4,8 or 16 depending on the opcode.