Add ret function

This commit is contained in:
2020-05-16 12:10:17 +02:00
parent 5d71a1316c
commit f9c43f19e6
6 changed files with 31 additions and 2 deletions

View File

@@ -89,6 +89,11 @@ seti %B $4;
int $3;
# Jump over the interrupt
call program_exit;
call noop_function;
int $3;
program_exit:
jmp the_real_exit;
noop_function:
ret;
the_real_exit: