2014-08-10 03:39:02 +00:00
|
|
|
public __abort
|
2014-11-05 17:20:02 +00:00
|
|
|
__abort proc
|
2014-08-10 03:39:02 +00:00
|
|
|
push si
|
|
|
|
push di
|
2014-08-22 15:08:37 +00:00
|
|
|
if LDATA
|
2014-08-10 03:39:02 +00:00
|
|
|
push ds
|
|
|
|
mov ax, offset aAbnormalProgra
|
|
|
|
push ax ; buf
|
2014-08-22 15:08:37 +00:00
|
|
|
nopcall ___ErrorMessage
|
2014-08-10 03:39:02 +00:00
|
|
|
mov ax, 3
|
|
|
|
push ax ; status
|
2014-08-22 15:08:37 +00:00
|
|
|
nopcall __exit
|
2014-08-10 03:39:02 +00:00
|
|
|
add sp, 6
|
|
|
|
else
|
|
|
|
mov ax, offset aAbnormalProgra
|
|
|
|
push ax ; buf
|
|
|
|
call ___ErrorMessage
|
|
|
|
mov ax, 3
|
|
|
|
push ax ; status
|
|
|
|
call __exit
|
|
|
|
pop cx
|
|
|
|
pop cx
|
2014-08-22 15:08:37 +00:00
|
|
|
endif
|
2014-08-10 03:39:02 +00:00
|
|
|
pop di
|
|
|
|
pop si
|
2014-08-22 15:08:37 +00:00
|
|
|
ret
|
2014-08-10 03:39:02 +00:00
|
|
|
__abort endp
|