projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Sync to trunk revision 61757.
[reactos.git]
/
lib
/
sdk
/
crt
/
string
/
i386
/
tcschr.inc
1
2
#include "tchar.h"
3
#include <asm.inc>
4
5
PUBLIC _tcschr
6
.code
7
8
_tcschr:
9
push esi
10
mov esi, [esp + 8]
11
mov edx, [esp + 12]
12
cld
13
14
.L1:
15
_tlods
16
cmp _treg(d), _treg(a)
17
je .L2
18
test _treg(a), _treg(a)
19
jnz .L1
20
mov esi, _tsize
21
22
.L2:
23
mov eax, esi
24
_tdec(eax)
25
26
pop esi
27
ret
28
29
END
30
/* EOF */