mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-22 06:43:28 +03:00
a5bb6e3fd4
git-svn-id: svn://kolibrios.org@6699 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
446 B
NASM
21 lines
446 B
NASM
format PE console 0.8
|
|
include '../../../../import.inc'
|
|
|
|
start:
|
|
push aHelloWorld
|
|
call [con_write_asciiz]
|
|
push 0
|
|
call [con_exit]
|
|
xor eax, eax
|
|
ret
|
|
|
|
aHelloWorld db 'Hello, World!',10,0
|
|
|
|
align 4
|
|
data import
|
|
library console, 'console.dll'
|
|
import console, \
|
|
con_write_asciiz, 'con_write_asciiz', \
|
|
con_exit, 'con_exit'
|
|
end data
|