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