projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Branch for the 0.3.14 release.
[reactos.git]
/
lib
/
sdk
/
crt
/
string
/
i386
/
tcsncat.inc
1
/* $Id: tcsncat.inc 49591 2010-11-15 01:29:12Z tkreuzer $
2
*/
3
4
#include "tchar.h"
5
#include <asm.inc>
6
7
PUBLIC _tcsncat
8
.code
9
10
_tcsncat:
11
push esi
12
push edi
13
mov edi, [esp + 12]
14
mov esi, [esp + 16]
15
cld
16
17
xor eax, eax
18
mov ecx, -1
19
repne _tscas
20
_tdec(edi)
21
22
mov ecx, [esp + 20]
23
24
.L1:
25
dec ecx
26
js .L2
27
_tlods
28
_tstos
29
test _treg(a), _treg(a)
30
jne .L1
31
jmp .L3
32
33
.L2:
34
xor eax, eax
35
_tstos
36
37
.L3:
38
mov eax, [esp + 12]
39
pop edi
40
pop esi
41
42
ret
43
44
END
45
/* EOF */