mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:05:48 +00:00
This really needs to go in a branch. It needs heavy testing and can't coincide with the current shell32 due to PSDK interface changes
svn path=/branches/shell32_new-bringup/; revision=51893
This commit is contained in:
parent
4596e5e59b
commit
4019caae75
23116 changed files with 0 additions and 1109022 deletions
45
lib/sdk/crt/string/i386/tcsncat.inc
Normal file
45
lib/sdk/crt/string/i386/tcsncat.inc
Normal file
|
@ -0,0 +1,45 @@
|
|||
/* $Id: tcsncat.inc 49591 2010-11-15 01:29:12Z tkreuzer $
|
||||
*/
|
||||
|
||||
#include "tchar.h"
|
||||
#include <asm.inc>
|
||||
|
||||
PUBLIC _tcsncat
|
||||
.code
|
||||
|
||||
_tcsncat:
|
||||
push esi
|
||||
push edi
|
||||
mov edi, [esp + 12]
|
||||
mov esi, [esp + 16]
|
||||
cld
|
||||
|
||||
xor eax, eax
|
||||
mov ecx, -1
|
||||
repne _tscas
|
||||
_tdec(edi)
|
||||
|
||||
mov ecx, [esp + 20]
|
||||
|
||||
.L1:
|
||||
dec ecx
|
||||
js .L2
|
||||
_tlods
|
||||
_tstos
|
||||
test _treg(a), _treg(a)
|
||||
jne .L1
|
||||
jmp .L3
|
||||
|
||||
.L2:
|
||||
xor eax, eax
|
||||
_tstos
|
||||
|
||||
.L3:
|
||||
mov eax, [esp + 12]
|
||||
pop edi
|
||||
pop esi
|
||||
|
||||
ret
|
||||
|
||||
END
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue