A system uses memory-mapped I/O. An address generated by the CPU falls within the address range assigned to a device register. What should the address-decoding hardware do?

Options

  • A. Select the corresponding I/O device register
  • B. Always select the main RAM regardless of the address
  • C. Convert the address into an arithmetic result
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. Select the corresponding I/O device register

Detailed Explanation

Correct Answer: Option A.

Explanation: Address-decoding logic examines the address and generates the appropriate device-select signal. When the address matches the assigned device-register range, the corresponding I/O device is selected.