feat: exemple de programme au format CE qui exploite une librairie par importation

This commit is contained in:
Nicolas Hordé 2004-11-19 22:13:10 +00:00
parent ee67bb4ce2
commit b3a5f09040
1 changed files with 29 additions and 0 deletions

29
programs/exem-ce.asm Normal file
View File

@ -0,0 +1,29 @@
.model small
.486
smart
.code
org 0h
include ..\include\mem.h
start:
header exe <,1,0,,,offset imports,offset exports,>
realstart:
call [affiche]
call [waitkey]
call [bye]
retf
imports:
db "EXEM-LIB.LIB::affiche",0
affiche dd 0
db "EXEM-LIB.LIB::waitkey",0
waitkey dd 0
db "EXEM-LIB.LIB::bye",0
bye dd 0
dw 0
exports:
end start