Fig. 18.7.2 shows a system with two peripherals, the CPU and main memory.
Fig. 18.7.2: A simple memory-mapped I/O system