Computer/Peripheral Communication
Ports
- locations through which data can enter or leave the computer (plugs on back)
- identified by port numbers like memory cells are identified by addresses
- In memory-mapped I/O machines, ports are disguised as memory cells so that the regular load and store operations can be used to read from or write to a port.
- In non-memory-mapped machines special I/O instructions are needed.