previous | start | next

How a Processor Writes to a Device

Devices typically have an electronic part (device controller) and sometimes a mechanical part. A disk drive has both.

A device controller typically has at least a few registers and some small amount of memory.

A device is "controlled" by the processor by reading/writing to the device controller registers (sometimes called device ports).

Device registers have "addresses".

For example, a device controller could have a register with address 0x0B10.



previous | start | next