home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
MAGAZINE
/
PROGJOUR
/
PJ_9_3.ZIP
/
FATAL.ASM
< prev
next >
Wrap
Assembly Source File
|
1991-02-20
|
419b
|
29 lines
title fatal applications exit
include asm.inc
public fatal_app_exit
.const
ertx_fatal db 'fatal',0
.code
extn set_strerror,perror,exit_with_error
;; fatal_app_exit
;
; entry AX offset of DGROUP error string
; note this function never returns
;
fatal_app_exit proc
call set_strerror
mov ax,@data
lea si,ertx_fatal
call perror
jmp exit_with_error
fatal_app_exit endp
end