Which is an important advantage of memory-mapped I/O?

Options

  • A. It allows device registers to be accessed using ordinary memory instructions
  • B. It always provides a separate address space for I/O devices
  • C. It eliminates the need for address decoding
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. It allows device registers to be accessed using ordinary memory instructions

Detailed Explanation

Correct Answer: Option A.

Explanation: Memory-mapped I/O allows device registers to be accessed using normal memory-access instructions. It provides a consistent programming model, but address decoding is still required.