Operating Systems Concepts - Engineering

Q1:

In which addressing mode the operand is given explicitly in the instruction?

A absolute mode

B immediate mode

C indirect mode

D index mode

E None of the above

ANS:B - immediate mode

In index addressing mode, the effective address of the operand is generated by adding a constant value to the contents of the register.

In absolute addressing mode, the address of the location of the operand is given explicitly as a part of the instruction.

In immediate addressing mode, the operand is given explicitly in the instruction.