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.