cradleasm3.asm 258 B

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