mirror of
https://github.com/reactos/reactos.git
synced 2024-09-22 18:45:51 +00:00
ab6c2ee54c
incude asm.inc instead of reactos/asm.h Fix a bug that smeaked into _chkstk svn path=/branches/cmake-bringup/; revision=49591
36 lines
372 B
PHP
36 lines
372 B
PHP
/* $Id$
|
|
*/
|
|
|
|
#include "tchar.h"
|
|
#include <asm.inc>
|
|
|
|
PUBLIC _tcscat
|
|
.code
|
|
|
|
_tcscat:
|
|
push esi
|
|
push edi
|
|
mov edi, [esp + 12]
|
|
mov esi, [esp + 16]
|
|
|
|
xor eax, eax
|
|
mov ecx, -1
|
|
cld
|
|
|
|
repne _tscas
|
|
_tdec(edi)
|
|
|
|
.L1:
|
|
_tlods
|
|
_tstos
|
|
test _treg(a), _treg(a)
|
|
jnz .L1
|
|
|
|
mov eax, [esp + 12]
|
|
pop edi
|
|
pop esi
|
|
ret
|
|
|
|
END
|
|
/* EOF */
|