in GATE retagged by
259 views
1 vote
1 vote

Relative mode addressing is most relevant to writing a/an __________:

  1. Co-routine
  2. Position independent code
  3. Shareable code
  4. Interrupt handler
in GATE retagged by
by
259 views

1 Answer

0 votes
0 votes
Best answer

"  Advantage of PC-relative addressing is that the code may be position-independent, i.e. it can be loaded anywhere in memory without the need to adjust any addresses." [1]

Relative mode addressing is most relevant to writing a position-independent code.

Reference :[1]  http://en.wikipedia.org/wiki/Addressing_mode#PC-relative

Hence option B is correct . 

selected by
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

64.3k questions

77.9k answers

244k comments

80.0k users