Advertisement
Guest User

holamundo.s

a guest
Sep 18th, 2012
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .section .data
  2. message:
  3.     .ascii "Hola Mundo\n"
  4.     len = . - message
  5.  
  6. .section .text
  7. .globl _start
  8. _start:
  9.     #write mesaje to stdout
  10.     movl $len, %edx              # LEN
  11.     movl $message, %ecx          # BUFFER
  12.     movl $1, %ebx                # FD
  13.     movl $4, %eax                # WRITE
  14.     int $0x80                    # SYSCALL
  15.     #exit
  16.     movl $0, %ebx                # RETVALUE
  17.     movl $1, %eax                # EXIT
  18.     int $0x80                    # SYSCALL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement