* Sync up to trunk head (r64995).
[reactos.git] / lib / sdk / crt / string / i386 / tcscat.inc
1
2 #include "tchar.h"
3 #include <asm.inc>
4
5 PUBLIC _tcscat
6 .code
7
8 FUNC _tcscat
9 FPO 0, 2, 2, 2, 0, FRAME_FPO
10 push esi
11 push edi
12 mov edi, [esp + 12]
13 mov esi, [esp + 16]
14
15 xor eax, eax
16 mov ecx, -1
17 cld
18
19 repne _tscas
20 _tdec(edi)
21
22 .L1:
23 _tlods
24 _tstos
25 test _treg(a), _treg(a)
26 jnz .L1
27
28 mov eax, [esp + 12]
29 pop edi
30 pop esi
31 ret
32 ENDFUNC
33
34 END
35 /* EOF */