Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .section .text
- .globl _start
- _start:
- movl %esp, %ebp
- movl (%ebp), %esi
- movl $1, %edi
- print_loop:
- movl (%ebp, %edi, 4), %eax
- pushl %eax
- call puts
- incl %edi
- decl %esi
- test %esi, %esi
- jnz print_loop
- movl $1, %eax
- movl $0, %ebx
- int $0x80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement