All mock tests are FREE till 31 December — register to save your progress
Unit 2 · Computer System Architecture Paper 2 CS · December 2018

Consider the following statements :

(i) Auto increment addressing mode is useful in creating self-relocating code.

(ii) If auto increment addressing mode is included in an instruction set architecture, then an additional ALU is required for effective address calculation.

(iii) In auto increment addressing mode, the amount of increment depends on the size of the data item accessed. Which of the above statements is/are true?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. (iii) only

Explanation

Self-relocating code relies on PC-relative addressing, not auto-increment (i false). The increment uses the existing address adder, not an extra ALU (ii false). The increment equals the operand size (1, 2, 4 bytes…), so (iii) is true.

More Computer System Architecture questions