How IRQ Works
The first thing we have to know is that every expansion slot, every device or controller on the motherboard has one wire implemented which we call theinterrupt wire. This wire is typically labeled as “INT”, and it is attached to the CPU. Whenever current is applied to the interrupt wire, the connected device gets the CPUs attention. The INT wire goes to the specific pin on the CPU. When the CPU detects the current on that pin, it will try to service the requesting device.
The problem is that the CPU only has one physical interrupt connector, and the CPU typically has to service a lot of devices on the system. All systems today have more than one device. To accommodate multiple devices we actually use additional chip called the Programmable Interrupt Controller (PIC). The PIC is placed between the CPU and other devices in the system. The interrupt wire from each device is connected to the PIC chip. That way we have multiple devices which can interrupt the CPU over the PIC chip.
Regards,
Anne