mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:52:59 +00:00
- Update to trunk
svn path=/branches/audio-bringup/; revision=49927
This commit is contained in:
commit
6c8e7899a9
731 changed files with 37805 additions and 18893 deletions
32
lib/sdk/crt/string/i386/tcslen.inc
Normal file
32
lib/sdk/crt/string/i386/tcslen.inc
Normal file
|
@ -0,0 +1,32 @@
|
|||
/* $Id: tcslen.inc 49591 2010-11-15 01:29:12Z tkreuzer $
|
||||
*/
|
||||
|
||||
#include "tchar.h"
|
||||
#include <asm.inc>
|
||||
|
||||
PUBLIC _tcslen
|
||||
.code
|
||||
|
||||
_tcslen:
|
||||
push edi
|
||||
mov edi, [esp + 8]
|
||||
xor eax, eax
|
||||
test edi, edi
|
||||
jz _tcslen_end
|
||||
|
||||
mov ecx, -1
|
||||
cld
|
||||
|
||||
repne _tscas
|
||||
|
||||
not ecx
|
||||
dec ecx
|
||||
|
||||
mov eax, ecx
|
||||
|
||||
_tcslen_end:
|
||||
pop edi
|
||||
ret
|
||||
|
||||
END
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue