← Quiz: Instructions and Addressing Modes: all 10 questions
Quiz: Instructions and Addressing Modes · Question 10 of 10
Which addressing mode is used for branches in position-independent code?
Which addressing mode is used for branches in position-independent code?
- A.Immediate
- B.Direct
- C.PC-relative
- D.Register
Answer & explanation
Correct answer: PC-relative
The target is PC + offset, so the code works wherever it is loaded in memory.
Can you get the rest right without peeking?
Take the timed Quiz: Instructions and Addressing Modes quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →