What is the primary role of the memory-mapped I/O technique in a…
2025
What is the primary role of the memory-mapped I/O technique in a microcontroller?
- A.
It increases the speed of program execution
- B.
It provides additional memory space for data storage
- C.
It allows I/O registers to be accessed using memory addresses
- D.
It eliminates the need for I/O operations
Attempted by 62 students.
Show answer & explanation
Correct answer: C
In memory-mapped I/O, peripheral or I/O control registers are assigned addresses in the processor’s memory address space. The CPU can then access those registers using ordinary memory read/write instructions. Thus, the primary role is to allow I/O registers to be accessed through memory addresses.