1#ifdef LIBC_SCCS 2 .asciz "@(#)strlen.s 1.1 (Berkeley/CCI) 08/01/86" 3#endif LIBC_SCCS 4 5/* 6 * Returns the number of 7 * non-NULL bytes in string argument. 8 */ 9 10#include "DEFS.h" 11 12ENTRY(strlen, 0) 13 movl 4(fp),r0 14 movl r0,r1 15 cmps2 16 subl2 4(fp),r0 17 ret 18