Operating Systems Concepts - Engineering

Q1:

In which addressing mode the effective address of the operand is the contents of a register specified in the instruction and after accessing the operand, the contents of this register is incremented to point to the next item in the list?

A index addressing

B indirect addressing

C auto increment

D auto decrement

E None of the above

ANS:C - auto increment

An auto increment is such a mode in which once a memory space is accessed it automatically goes to the next one. Or automatically increment in the value of its address.

For example in arrays:
int a[10];
for(i=0;i<=9;i++)
{
i++;
}