;**************************************************************************
; A_DLL.ASM
; Example of a DLL file. This library file, A_DLL.DLL is loaded
; by the example program dlltest.exe.
;
;to build;
;
; tasm a_dll.asm
; dlink test -d a_dll
;
;**************************************************************************
.386
.model flat, C
.code
; Define the public varible 'DOS32_DLL' as an array of each function in
; this libraray.
Public DOS32_DLL
DOS32_DLL DD print_string
DD wait_for_key
print_string proc
mov ah,9
int 21h
ret
print_string endp
wait_for_key proc
mov ah,0
int 16h
ret
wait_for_key endp
end