reactos/lib/sdk/crt/string/i386/tcscpy.inc
Timo Kreuzer ab6c2ee54c [CRT]
incude asm.inc instead of reactos/asm.h
Fix a bug that smeaked into _chkstk

svn path=/branches/cmake-bringup/; revision=49591
2010-11-15 01:29:12 +00:00

31 lines
306 B
PHP

/* $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 */