diff --git a/helloworld.asm b/helloworld.asm index d43b234..05f35b2 100644 --- a/helloworld.asm +++ b/helloworld.asm @@ -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