eb8718eafb
* DEFS.h and setjmp.S are no longer in use.
20 lines
276 B
ArmAsm
20 lines
276 B
ArmAsm
/*
|
|
* Written by Matthias Pfaller, 1996
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <machine/asm.h>
|
|
|
|
#if defined(LIBC_SCCS)
|
|
RCSID("$NetBSD: ffs.S,v 1.1 1996/11/07 07:36:13 matthias Exp $")
|
|
#endif
|
|
|
|
ENTRY(ffs)
|
|
enter [],0
|
|
movqd 0,r0
|
|
ffsd B_ARG0,r0
|
|
bfs 1f
|
|
addqd 1,r0
|
|
1: exit []
|
|
ret 0
|