1 2 3 4 5 6
#include <stdint.h> #include <stdio.h> extern "C" void exception_handler(int e) { printf("Exception: %x", e); }