TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Paul Edwards
date: 1994-08-31 21:15:38
subject: assembler problem

; File name "one.asm"
; Assembled with "tasm one"
; Linked with "tlink one,,,e:\bcos2\lib\os2.lib"
;
; The program works if I comment out the ".startup".
; Otherwise I get a trap 001C.  Any ideas?

.386p

.model flat

.stack 4000h

code segment

extrn DosExit:near

top:

public foo
foo proc
.startup
push 0
push 1
call DosExit
foo endp

code ends

end top




@EOT:

--- Mksmsg
* Origin: none (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.