Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .section .data
- message:
- .ascii "Hola Mundo\n"
- len = . - message
- .section .text
- .globl _start
- _start:
- #write mesaje to stdout
- movl $len, %edx # LEN
- movl $message, %ecx # BUFFER
- movl $1, %ebx # FD
- movl $4, %eax # WRITE
- int $0x80 # SYSCALL
- #exit
- movl $0, %ebx # RETVALUE
- movl $1, %eax # EXIT
- int $0x80 # SYSCALL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement