kolibrios-fun/programs/develop/libraries/newlib/sdk/fasm/hello.asm
Sergey Semyonov (Serge) 7f52e849bc newlib sdk: fasm includes for ffmpeg-1.1.3 and freetype-2.5.0
git-svn-id: svn://kolibrios.org@3917 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-20 19:47:12 +00:00

31 lines
349 B
NASM

STACK_SIZE equ 4096
include "app.inc"
align 8
main:
cinvoke _printf, msg_hello
ret
msg_hello db 'Hello world!',0x0D,0x0A,0
align 16
__idata_start:
library libc,'libc.dll'
include 'libc.inc'
__idata_end:
__iend:
__cmdline: rb 256
__pgmname: rb 1024
rb 16
__stack:
__bssend: