| 12345678910111213141516171819202122232425262728293031 |
- [BITS 64]
- ; begining of the assembly program
- %define SYS_EXIT 60
- %define SYS_WRITE 1
- %define STD_IN 0
- %define STD_OUT 1
- %define STD_ERR 2
- section .bss
- ; nada
- section .data
- section .text
- global _start
- _start:
- mov rax,6
- push rax
- mov rax,7
- push rax
- mov rax,9
- pop rbx
- imul rax, rbx
- pop rbx
- add rax, rbx
- mov rdi,0
- mov rax,SYS_EXIT
- syscall
|