home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC6.DMS / in.adf / libsrc.lha / LIBSRC / remove.asm < prev    next >
Encoding:
Assembly Source File  |  1994-04-15  |  300 b   |  25 lines

  1.  
  2. * Maxon C++ Library:
  3. * Modul "remove"
  4. * Jens Gelhar 25.10.91, 15.04.94
  5.  
  6.     xdef    _remove,remove__PCc
  7.  
  8.     xref    _DOSBase
  9.  
  10. _remove:
  11. remove__PCc:
  12.     move.l    a6,-(a7)
  13.     move.l    8(a7),d1
  14.     move.l    _DOSBase,a6
  15.     jsr    -72(a6)
  16.     tst.l    d0
  17.     bmi.b    .ok
  18.     moveq    #-1,d0
  19.     bra.b    .end
  20. .ok    moveq    #0,d0
  21. .end    move.l    (a7)+,a6
  22.     rts
  23.  
  24.     end
  25.