home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
progjour
/
1991
/
06
/
alib
/
exit.asm
< prev
next >
Wrap
Assembly Source File
|
1991-08-23
|
427b
|
36 lines
include asm.inc
public exit
public exit_with_failure
public exit_with_success
.code
extn ms_dos
;; exit with failure
;
exit_with_failure proc
mov al,EXIT_FAILURE
jmp exit
exit_with_failure endp
;; exit with success
;
exit_with_success proc
mov al,EXIT_SUCCESS
jmp exit
exit_with_success endp
;; exit
;
; entry AL exit code
;
exit proc
mov ah,4Ch
jmp ms_dos
exit endp
end