Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LEARN SOME ASSEMBLY.
- http://www.cs.princeton.edu/~tongbinw/bitcoinIDE/demo/kitchen-sink/docs/
- http://www.cs.virginia.edu/~evans/cs216/guides/x86.html
- http://en.wikipedia.org/wiki/X86_assembly_language
- UNREL_LOL(qt_exit_MURPH);
- http://www.tommyemmanuel.com/
- http://www.cleverbot.com/
- https://www.facebook.com/groups/akashicrecordsonline/
- #######################################################;
- section .text
- global main ;must be declared for using gcc
- main: ;tell linker entry point
- mov edx, len ;message length
- mov ecx, msg ;message to write
- mov ebx, 1 ;file descriptor (stdout)
- mov eax, 4 ;system call number (sys_write)
- int 0x80 ;call kernel
- mov eax, 1 ;system call number (sys_exit)
- int 0x80 ;call kernel
- section .data
- msg db 'Hello, world!',0xa ;our dear string
- len equ $ - msg ;length of our dear string
- //TEH_TRANSIST0R
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement