[SOLVED] Division exception triggering ISR 6?
Posted: Sun Feb 02, 2025 6:06 pm
I have been working on a new kernel recently, and noticed some strange behaviour. I noticed that my exception handler was not displaying the correct error message on a division-by-zero error. After running the kernel through GDB, i found that the ISR being called was not zero, as I expected based on the wiki, but instead 6.
Is it possible that I have implemented something incorrectly, or is this just how things work and im misreading the wiki?
Relevant Information:
- Interrupts being tested with line `int i = 1/0`
- Compiler: GCC
- VM: Qemu
- Debugger: GDB
Is it possible that I have implemented something incorrectly, or is this just how things work and im misreading the wiki?
Relevant Information:
- Interrupts being tested with line `int i = 1/0`
- Compiler: GCC
- VM: Qemu
- Debugger: GDB