Anonymous user menu

Gate1998_1.28

A linker reads four modules whose lengths are 200, 800, 600 and 500 words, respectively. If they are loaded in that order, what are the relocation constants?
(a) 0, 200, 500, 600
(b) 0, 200, 1000, 1600
(c) 200, 500, 600, 800
(d) 200, 700, 1300, 2100
 

Answer

Discuss

1Comment
Amit Pal @amitpal101
26 Sep 2016 11:58 am

If these modules need to be stored in particular given order. than their relocation register ,and next relocation reg should give the difference value greater or equal to the size of that particular module .
this property is satisfying by option (b)