home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / fileutil / find.lha / Format.asm < prev    next >
Assembly Source File  |  1992-06-26  |  857b  |  59 lines

  1. **
  2. **    Find - AmigaDOS 2.04 commodities utility
  3. **
  4. **    Copyright © 1991-1992 by Olaf `Olsen' Barthel
  5. **        All Rights Reserved
  6. **
  7.  
  8. CALL    macro
  9.     xref    _LVO\1
  10.     jsr    _LVO\1(a6)
  11.     endm
  12.  
  13.     csect    text,0,0,1,2
  14.  
  15.     xdef    _SPrintf
  16.     xdef    _VSPrintf
  17.  
  18. *--------------------------------------------------------------------------
  19.  
  20. _SPrintf:
  21.     movem.l    a2/a3/a6,-(sp)
  22.  
  23.     move.l     4+12(sp),a3
  24.     move.l     8+12(sp),a0
  25.     lea    12+12(sp),a1
  26.     lea    stuffchar(pc),a2
  27.  
  28.     move.l    4,a6
  29.     CALL    RawDoFmt
  30.  
  31.     movem.l    (sp)+,a2/a3/a6
  32.  
  33.     rts
  34.  
  35. *--------------------------------------------------------------------------
  36.  
  37. _VSPrintf:
  38.     movem.l    a2/a3/a6,-(sp)
  39.  
  40.     move.l     4+12(sp),a3
  41.     move.l     8+12(sp),a0
  42.     move.l    12+12(sp),a1
  43.     lea    stuffchar(pc),a2
  44.  
  45.     move.l    4,a6
  46.     CALL    RawDoFmt
  47.  
  48.     movem.l    (sp)+,a2/a3/a6
  49.  
  50.     rts
  51.  
  52. stuffchar:
  53.     move.b    d0,(a3)+
  54.     rts
  55.  
  56. *--------------------------------------------------------------------------
  57.  
  58.     end
  59.