Add small constants set, exit() and tests entry/exit
This commit is contained in:
@@ -1 +1,9 @@
|
||||
%include "src/constants.asm"
|
||||
|
||||
section .text
|
||||
global exit
|
||||
|
||||
;----- exit(exit_code) -----;
|
||||
exit:
|
||||
mov rax, NR_exit
|
||||
syscall
|
||||
|
Reference in New Issue
Block a user