Apex › Hardware

Address decoding & the memory bus

ROM, RAM, and every I/O device sit on one shared address and data bus. When the CPU puts out an address, exactly one chip must answer — address decoding reads the high bits and asserts a single chip-select line, waking one device and keeping the rest off the bus. This is also why I/O is memory-mapped: a device is just an address range. Type an address and watch the decoder pick the chip.

More in Hardware