1/* @(#)ffs.s 4.2 11/01/84 */ 2/* bit = ffs(value) */ 3 4#include "DEFS.h" 5 6ENTRY(ffs, 0) 7 ffs $0,$32,4(ap),r0 8 bneq 1f 9 mnegl $1,r0 101: 11 incl r0 12 ret 13