[MPRAPI]
[reactos.git] / reactos / lib / sdk / crt / string / i386 / tcschr.h
1 /* $Id$
2 */
3
4 #include "tchar.h"
5
6 .globl _tcschr
7
8 _tcschr:
9 push %esi
10 mov 0x8(%esp), %esi
11 mov 0xC(%esp), %edx
12
13 cld
14
15 .L1:
16 _tlods
17 cmp %_treg(a), %_treg(d)
18 je .L2
19 test %_treg(a), %_treg(a)
20 jnz .L1
21 mov _tsize, %esi
22
23 .L2:
24 mov %esi, %eax
25 _tdec(%eax)
26
27 pop %esi
28 ret
29
30 /* EOF */