Question: what are irqs used for?
Answer: IRQ - interrupt request line IRQs are hardware lines over which devices can send interrupt signals to the microprocessor. When you add a new device to a PC, you sometimes need to set its IRQ number by setting a DIP switch. This specifies which interrupt line the device may use.