COM (hardware Interface) - I/O Addresses

I/O Addresses

The COM ports are interfaced by an integrated circuit such as 16550 UART. This IC has seven internal 8-bit registers which hold information and configuration data about which data is to be sent or was received, the baud rate, interrupt configuration and more. In the case of COM1, these registers can be accessed by writing to or reading from the I/O addresses 0x3F8 to 0x3FF.

If the CPU, for example, wants to send information out on COM1, it writes to I/O port 0x3F8, as this I/O port is "connected" to the UART IC register which holds the information that is to be sent out.

Read more about this topic:  COM (hardware Interface)

Famous quotes containing the word addresses:

    The pleasures and the cares of the luckiest ambition, even of limitless power, are nothing next to the intimate happiness that tenderness and love give. I am man before being a prince, and when I have the good fortune to be in love, my mistress addresses a man and not a prince.
    Stendhal [Marie Henri Beyle] (1783–1842)