home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progc / djlsr106.arj / FINDFIRS.S < prev    next >
Text File  |  1992-03-02  |  318b  |  19 lines

  1.     .globl    _findfirst /* path, ffblk, attrib */
  2. _findfirst:
  3.     pushl    %ebx
  4.     pushl    %esi
  5.     pushl    %edi
  6.     movl    20(%esp),%edx
  7.     movb    $0x1a,%ah
  8.     int    $0x21        /* set DTA */
  9.  
  10.     movl    16(%esp),%edx
  11.     movl    24(%esp),%ecx
  12.     movb    $0x4e,%ah
  13.     int    $0x21        /* find first match */
  14.  
  15.     popl    %edi
  16.     popl    %esi
  17.     popl    %ebx
  18.     jmp    syscall_check
  19.