Hard Operating Systems I/O Management
Compare memory-mapped I/O with port-mapped I/O.
Answer
Memory-mapped I/O maps device registers to memory addresses - same instructions for memory and I/O, full addressing modes, but consumes address space. Port-mapped I/O uses separate address space with special instructions (IN/OUT on x86) - doesn't use memory addresses, but limited instructions. Modern systems prefer memory-mapped: easier programming, cache coherency protocols apply, works with virtual memory. x86 supports both; ARM uses memory-mapped exclusively.
IIT Certified
Master These Concepts with IIT Certification
175+ hours of industry projects. Get placed at Bosch, Tata Motors, L&T and 500+ companies.
Relevant for Roles
Systems Developer Embedded Engineer OS Developer