The use of multiple register windows with overlap causes a reduction in the…

2009

The use of multiple register windows with overlap causes a reduction in the number of memory accesses for:

  • I. Function locals and parameters

  • II. Register saves and restores

  • III. Instruction fetches

Answer: D. I and II onlyCorrect answer: I and II only Function locals and parameters: overlapping register windows allow values to be passed and kept in registers during procedure…

  1. A.

    I only

  2. B.

    II only

  3. C.

    III only

  4. D.

    I and II only

Attempted by 73 students.

Show answer & explanation

Correct answer: D

Correct answer: I and II only

  • Function locals and parameters: overlapping register windows allow values to be passed and kept in registers during procedure calls.

  • Register saves and restores: fewer registers need to be written to or read from memory across calls.

  • Instruction fetches: these depend on the instruction memory/cache path, not on register-window overlap.

Therefore, statements I and II are correct, while statement III is not.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Niacl Ao It Specialist

Loading lesson…