home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1992
/
11
/
labnotes
/
labstub.asm
< prev
next >
Wrap
Assembly Source File
|
1992-02-24
|
932b
|
29 lines
;LABSTUB.ASM
;Stub file for LABNOTES.DLL
;Copyright (c) 1992 Jay Munro
;First Published in PC Magazine June 16, 1992
DosSeg ;standard DOS program
.Model Small
.Data
SlugLine DB 'Labnotes.DLL Copyright (c) 1992 Jay Munro',13,10
DB 'for use with Microsoft Visual Basic.',13,10
DB 'First Published in PC Magazine June 16, 1992',13,10,'$'
.Stack 64 ;little stack needed
.Code
Start:
Mov AX,@DATA
Mov DS,AX
Assume DS:@Data
Mov DX, Offset SlugLine ;print the error of their ways
;DS:DX enters pointing toward string to print
Mov AH,9h ;service 9, print a string
Int 21h ;print it
Mov AX,4C01h ;leave peacefully
Int 21h
End Start ;show dos where to begin