12345678910111213141516171819202122 |
- .file "test1.s"
- .data
- str:
- .ascii "test1\n"
- .text
- .global test1
- test1:
- movq %rsp, %rbp
- movq $1, %rax
- movq $1, %rdi
- leaq str(%rip), %rsi
- movq $6, %rdx
- syscall
- movq %rbp, %rsp
- //exit
- movq $60, %rax
- movq $0, %rdi
- syscall
|