test.s 231 B

1234567891011
  1. %include "header.s"
  2. section .text
  3. global _start
  4. _start:
  5. int 80h ; Call the kernel
  6. mov eax,1 ; The system call for exit (sys_exit)
  7. mov ebx,0 ; Exit with return code of 0 (no error)
  8. int 80h