Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .data
- str1: .string "hello"
- str2: .string "world"
- .text
- .globl _start
- _start:
- pushl $str1
- call puts
- call strcall
- call finish
- strcall:
- pushl $str2
- call puts
- ret
- finish:
- movl $1, %eax
- movl $0, %ebx
- int $0x80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement