28.11.2014 Views

assembly_tutorial

assembly_tutorial

assembly_tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

mov eax, 1<br />

xor ebx, ebx<br />

int 80h<br />

section .data<br />

msg db "Allocated 16 kb of memory!", 10<br />

len equ $ - msg<br />

When the above code is compiled and executed, it produces following result:<br />

Allocated 16 kb of memory!<br />

TUTORIALS POINT<br />

Simply Easy Learning

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!