avbrottvektortabell
Avbrottvektortabell, often abbreviated as interrupt vector table (IVT), is a crucial data structure in computer systems, particularly in operating systems and embedded systems. It serves as a lookup table that stores the memory addresses of interrupt service routines (ISRs). When an interrupt occurs, such as a hardware device requesting attention or a software exception being triggered, the processor uses the interrupt vector number to find the corresponding entry in the IVT. This entry then points to the specific ISR that will handle the interrupt.
The structure of an IVT can vary between different processor architectures. Typically, it is an array of
The IVT plays a vital role in efficient interrupt handling. Instead of the processor having to poll