Last active
December 5, 2023 15:40
-
-
Save matthewholliday/ab1570aa3f63717017e30b6f0d9917ac to your computer and use it in GitHub Desktop.
ASSEMBLY SYS_EXIT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
section .data | |
section .text | |
global _start | |
exit: | |
mov ebx, 0 ; return 0 status on exit - 'No Errors' | |
mov eax, 1 ; invoke SYS_EXIT (kernel opcode 1) | |
int 80h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment