🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Instructions and Addressing Modes: all 10 questions

Quiz: Instructions and Addressing Modes · Question 4 of 10

Which addressing mode is most natural for accessing arr[i]?

Which addressing mode is most natural for accessing arr[i]?

  1. A.Immediate
  2. B.Indirect
  3. C.Indexed (base + index register)
  4. D.PC-relative
Answer & explanation

Correct answer: Indexed (base + index register)

EA = base address of the array + index register.

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 →