xref: /reactos/sdk/lib/crt/string/i386/tcscat.inc (revision 80774a2f)
1
2#include "tchar.h"
3#include <asm.inc>
4
5PUBLIC _tcscat
6.code
7
8FUNC _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
32ENDFUNC
33
34END
35/* EOF */
36