pveentjer / Rust-based-ARM-emulator

A bogus CPU emulator written in Rust.
52 stars 6 forks source link

Add support for exception handling #7

Open pveentjer opened 4 months ago

pveentjer commented 4 months ago

Currently, there is no support for CPU exceptions. And therefore instructions like SDIV and dividing by 0 don't properly work.

So when an exception occurs, deal with it when the instruction retires and call the exception handlers.