in CO & Architecture
46 views
0 votes
0 votes
Which addressing mode to best to write position independent code?

I understand that PC relative mode is used as we only have a constant value in instruction and we add it to pc to get next instruction to execute and don’t need any relocation and so, it can run at any address.

But how Base registered addressing mode is also suitable to write position independent code
in CO & Architecture
by
5 points
46 views

1 Answer

0 votes
0 votes
by
5 points
Ask
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
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.