Accessing I/O Devices
The I/O devices and the memory share the same
address space Memory-mapped I/O
No special commands for I/O
I/O looks just like memory read/write
Example: Load R2, DATAIN
Store R2, DATAOUT
DATAIN is the address of a register in an input device.
DATAOUT is the address of a register in an output device.
5