Changeset 1215
- Timestamp:
- Feb 10, 2004, 9:57:15 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/lib/str/386/strnlen.s
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1214 r1215 24 24 PROFILE_NOFRAME 25 25 pushl %edi 26 movl 3*4(%esp), %ecx /* maxlen */ 27 xorl %eax, %eax 28 orl %ecx, %ecx 29 jnz next 30 jmp done 31 next: 26 32 movl 2*4(%esp), %edi /* string */ 27 33 movl %edi, %edx 28 movl 3*4(%esp), %ecx /* maxlen */29 xorl %eax, %eax30 34 repne 31 35 scasb … … 35 39 movzx %cl, %ecx 36 40 subl %ecx, %eax 41 done: 37 42 popl %edi 38 43 EPILOGUE(___strnlen) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.