cradleasm2-1.asm 181 B

123456789101112131415161718
  1. ; begining of the assembly program
  2. section .data
  3. section .text
  4. global _start
  5. _start:
  6. mov eax,9
  7. mov ebx, eax
  8. mov eax,6
  9. sub eax, ebx
  10. neg eax
  11. mov rdi,0
  12. mov rax,60
  13. syscall