[CRT]
[reactos.git] / lib / sdk / crt / string / i386 / tcscpy.inc
1 /* $Id$
2 */
3
4 #include "tchar.h"
5 #include <reactos/asm.h>
6
7 PUBLIC _tcscpy
8 .code
9
10 _tcscpy:
11 push esi
12 push edi
13 mov edi, [esp + 12]
14 mov esi, [esp + 16]
15 cld
16
17 .L1:
18 _tlods
19 _tstos
20 test _treg(a), _treg(a)
21 jnz .L1
22
23 mov eax, [esp + 12]
24
25 pop edi
26 pop esi
27 ret
28
29 END
30 /* EOF */