Date and Time
Many programs require to either set or get the current date or time. The PC has a system timer which uses interrupt line IRQ0 to interrupt the processor 18.2 times per second. This is then used to update the time of day. Figure 19.1 shows an example usage of interrupts in a PC. Notice that IRQ0 is set to the system timer.
Unable to display preview. Download preview PDF.