Guest User

helloworld.s

a guest
Jan 8th, 2013
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .section .data
  2. message:
  3.     .ascii "Hello World\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
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×