https://courses.grainger.illinois.edu/ece220/sp2025/lectures/ubhowmik/interrupts-and-exceptions.pdf