Proper program exit

This commit is contained in:
2025-10-07 17:03:59 -04:00
parent 22f1cae833
commit 3360f1976c

View File

@@ -15,3 +15,6 @@ _start:
mov ebx, 1 ; write to the STDOUT file
mov eax, 4 ; invoke SYS_WRITE (kernel opcode 4)
int 80h
mov ebx, 0 ; return 0
mov eax, 1 ; SYS_EXIT
int 80h