home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progc
/
djlsr106.arj
/
FINDFIRS.S
< prev
next >
Wrap
Text File
|
1992-03-02
|
318b
|
19 lines
.globl _findfirst /* path, ffblk, attrib */
_findfirst:
pushl %ebx
pushl %esi
pushl %edi
movl 20(%esp),%edx
movb $0x1a,%ah
int $0x21 /* set DTA */
movl 16(%esp),%edx
movl 24(%esp),%ecx
movb $0x4e,%ah
int $0x21 /* find first match */
popl %edi
popl %esi
popl %ebx
jmp syscall_check