mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:25:48 +00:00
Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
This commit is contained in:
parent
3e3200acef
commit
4f0b8d3db0
20620 changed files with 0 additions and 1232833 deletions
31
lib/sdk/crt/string/i386/tcscpy.inc
Normal file
31
lib/sdk/crt/string/i386/tcscpy.inc
Normal file
|
@ -0,0 +1,31 @@
|
|||
|
||||
#include "tchar.h"
|
||||
#include <asm.inc>
|
||||
|
||||
PUBLIC _tcscpy
|
||||
.code
|
||||
|
||||
FUNC _tcscpy
|
||||
FPO 0, 2, 2, 2, 0, FRAME_FPO
|
||||
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
|
||||
ENDFUNC
|
||||
|
||||
END
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue