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 >
Wrap
Assembly Source File
|
1992-06-26
|
857b
|
59 lines
**
** Find - AmigaDOS 2.04 commodities utility
**
** Copyright © 1991-1992 by Olaf `Olsen' Barthel
** All Rights Reserved
**
CALL macro
xref _LVO\1
jsr _LVO\1(a6)
endm
csect text,0,0,1,2
xdef _SPrintf
xdef _VSPrintf
*--------------------------------------------------------------------------
_SPrintf:
movem.l a2/a3/a6,-(sp)
move.l 4+12(sp),a3
move.l 8+12(sp),a0
lea 12+12(sp),a1
lea stuffchar(pc),a2
move.l 4,a6
CALL RawDoFmt
movem.l (sp)+,a2/a3/a6
rts
*--------------------------------------------------------------------------
_VSPrintf:
movem.l a2/a3/a6,-(sp)
move.l 4+12(sp),a3
move.l 8+12(sp),a0
move.l 12+12(sp),a1
lea stuffchar(pc),a2
move.l 4,a6
CALL RawDoFmt
movem.l (sp)+,a2/a3/a6
rts
stuffchar:
move.b d0,(a3)+
rts
*--------------------------------------------------------------------------
end