Commit 36d42c96 authored by Anthony Bocquet's avatar Anthony Bocquet

helloworld.asm

parent ed2fb921
File added
bits 32
extern printf
global main
section .data
Hello db "Hello World!", 10, 0
section .text
main:
push ebp
mov ebp, esp
sub esp, 4
mov dword [esp], Hello
call printf
xor eax, eax
leave
ret
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment