home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Liren Large Software Subsidy 10
/
10.iso
/
l
/
l440
/
2.ddi
/
CHAP6
/
HAVE2E.ASM
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Assembly Source File
|
1990-09-27
|
376 b
|
19 lines
; HAVE2E.ASM
.model small,c
.code
have2e proc ; returns 1 if ISR exists, else 0
public have2e
; int have2e( void ); /* prototype */
mov ax,352Eh
int 21h
mov al,es:[bx]
xor al,0CFh ; opcode for IRET
jz h1
mov ax,1
h1: cbw
ret
have2e endp
end