xref: /reactos/sdk/lib/crt/string/i386/tcscpy.inc (revision 80774a2f)
1
2#include "tchar.h"
3#include <asm.inc>
4
5PUBLIC _tcscpy
6.code
7
8FUNC _tcscpy
9    FPO 0, 2, 2, 2, 0, FRAME_FPO
10    push esi
11    push edi
12
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
28ENDFUNC
29
30END
31/* EOF */
32