Interrupt and syscall handling
Posted on Fri 19 June 2020 in MUPS16 • Tagged with interrupts, control
My first attempt at implementing interrupt, syscall and exception handling in MUPS/16 currently has 4 types of traps:
- interrupts (currently 4, with equal priority)
- page faults
- syscalls
- privilege errors
Syscalls are handled slightly differently as they are completely syncronous, and so can be treated just as another instruction (R-type …
Continue reading