Our Feeds

Thursday, 14 August 2014

Ajith KP

Hello World in FASM

          `Hello World` is the first program to implement in every programming languages. Here it is going to implement first application in FASM.


format PE console
include 'win32a.inc'
;
;
; AJITH KP > HTTP://WWW.TERMINALCODERS.BLOGSPOT.DE
;
;
invoke printf, hello
invoke getch
invoke ExitProcess, 0
hello db 'Hello World!!!', 0
data import
     library kernel32, 'kernel32.dll', msvcrt, 'msvcrt.dll'
     import kernel32, ExitProcess, 'ExitProcess'
     import msvcrt, printf, 'printf', getch, '_getch'
end data