kolibrios/programs/develop/libraries/console/examples/testcon.asm
CleverMouse a5bb6e3fd4 console.dll in PE format
git-svn-id: svn://kolibrios.org@6699 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-10 19:26:46 +00:00

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