diff --git a/src/syscall.c b/src/syscall.c index 3266914..45652e0 100644 --- a/src/syscall.c +++ b/src/syscall.c @@ -3,5 +3,5 @@ int syscall_handle(cpu_status_t* status, uint32_t origin){ printf("\e[32mpc: %8x syscall %8x\e[39m\n", origin, status->r[0]); - status->pc = status->pr+4; + status->pc = status->pr; } \ No newline at end of file