Why is PC-relative addressing commonly used for branch instructions?
Correct answer C. It makes code position-independent and needs only a short offset field
The target is computed as PC plus a signed displacement, and since most branches jump only a short distance a small field suffices. Because the offset is relative, the code still works when loaded at a different address. Absolute addressing needs a full-width address and ties code to a fixed location. The PC is still updated, just to PC plus the offset.
Answer checked How we write and check questions
Discussion