projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[CRT]
[reactos.git]
/
lib
/
sdk
/
crt
/
string
/
i386
/
tcslen.inc
1
/* $Id$
2
*/
3
4
#include "tchar.h"
5
#include <reactos/asm.h>
6
7
PUBLIC _tcslen
8
.code
9
10
_tcslen:
11
push edi
12
mov edi, [esp + 8]
13
xor eax, eax
14
test edi, edi
15
jz _tcslen_end
16
17
mov ecx, -1
18
cld
19
20
repne _tscas
21
22
not ecx
23
dec ecx
24
25
mov eax, ecx
26
27
_tcslen_end:
28
pop edi
29
ret
30
31
END
32
/* EOF */