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

An instruction at location 500 has its address field at 501, holding the value 400. Register R1 contains 200. Match each addressing mode with its effective address: (a) Direct, (b) Register indirect, (c) Indexed with R1 as index register, (d) Relative. Values: (i) 200, (ii) 902, (iii) 400, (iv) 600.

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

Show answer & explanation

Correct answer: A. (a)-(iii), (b)-(i), (c)-(iv), (d)-(ii)

Explanation

Direct: 400. Register indirect: R1 = 200. Indexed: 400 + 200 = 600. Relative: PC (502 after fetch) + 400 = 902.

More Computer System Architecture questions