Guest User

Untitled

a guest
Nov 15th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. global _start
  2.  
  3. extern exit
  4.  
  5. section .text
  6. _start:
  7. mov ebx, 10
  8. call exit
  9.  
  10. global _start
  11.  
  12. extern _exit
  13.  
  14. section .text
  15. _start:
  16. mov ebx, 10
  17. call _exit
  18.  
  19. nasm -f elf32 hello.asm
  20. ld -m elf_i386 -lc -o hello.out hello.o
  21.  
  22. bash: ./hello.out : No such file or directory.
Add Comment
Please, Sign In to add comment