vectortable
A vectortable, also known as an interrupt vector table or dispatch table, is a data structure used in computer systems to manage interrupts. It typically consists of an array of memory addresses. Each entry in the table corresponds to a specific interrupt or exception event. When an interrupt occurs, the processor uses the interrupt number as an index into the vectortable to find the memory address of the interrupt handler routine. This routine is a piece of code specifically designed to deal with that particular interrupt.
The vectortable is usually located at a fixed memory address, often at the beginning of the system's
When an interrupt is triggered, the processor suspends its current execution, saves its current state (like