GATE Computer ScienceEasyGATE CS (PYQ pattern)

Which of the following are correct for addressing modes? I. PC-relative addressing helps make code position independent. II. Register indirect addressing needs one fewer memory access for the operand than memory (indirect) addressing. III. An immediate operand cannot be larger than the field reserved for it in the instruction. IV. Auto-increment mode cannot be used to step through array elements.

  1. A. I and II only
  2. B. II, III and IV only
  3. C. I, II and III only
  4. D. I, III and IV only

Correct answer: C. I, II and III only

IV is the opposite of the truth: auto-increment is made for walking through arrays. I, II and III are standard facts.

More Computer Organization and Architecture questions

Exams that ask this topic