reactos/lib/sdk/crt/string/i386/tcscpy.inc

31 lines
306 B
PHP
Raw Normal View History

/* $Id$
*/
#include "tchar.h"
#include <asm.inc>
PUBLIC _tcscpy
.code
_tcscpy:
push esi
push edi
mov edi, [esp + 12]
mov esi, [esp + 16]
cld
.L1:
_tlods
_tstos
test _treg(a), _treg(a)
jnz .L1
mov eax, [esp + 12]
pop edi
pop esi
ret
END
/* EOF */