The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+3 votes
118 views

I have a doubt PC Relative addressing modes permits relocation without any change whatsoever in the code,but why not Base register addressing as both addressing mode are similar? Plz can anybody explain?

According to this https://cs.stackexchange.com/questions/48730/which-addressing-modes-permits-relocation-without-any-change-whatsoever-in-the-c

Base addressing mode also allows relocation without any change in the code whatsoever

But according to https://gateoverflow.in/1656/gate1998_1-19

here PC Relative is correct answer!

or is it the case that Pc relative mode make more sense then Base addressing mode.

in CO and Architecture by Loyal (6.8k points) | 118 views

1 Answer

0 votes
because in base relative addressing mode you need to modify the base register.
by Active (3.2k points)

Related questions

+1 vote
1 answer
5
asked May 27, 2018 in CO and Architecture by Prateek Raghuvanshi Boss (10.4k points) | 185 views
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
50,339 questions
55,763 answers
192,337 comments
90,771 users