projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Mostly minor updates to the source tree for portcls.
[reactos.git]
/
reactos
/
lib
/
string
/
i386
/
tcsncpy.h
1
/* $Id$
2
*/
3
4
#include
"tchar.h"
5
6
.
globl _tcsncpy
7
8
_tcsncpy
:
9
push
%
esi
10
push
%
edi
11
mov
0x0C
(%
esp
), %
edi
/* s1 */
12
mov
0x10
(%
esp
), %
esi
/* s2 */
13
mov
0x14
(%
esp
), %
ecx
/* n */
14
15
xor
%
eax
, %
eax
16
cld
17
18
.
L1
:
19
dec
%
ecx
20
js
.
L2
21
_tlods
22
_tstos
23
test
%
_treg
(
a
), %
_treg
(
a
)
24
jnz
.
L1
25
rep _tstos
26
27
.
L2
:
28
mov
0x0C
(%
esp
), %
eax
29
30
pop
%
edi
31
pop
%
esi
32
ret
33
34
/* EOF */