Add some exception handling for interrupts and floating-point exceptions