git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update for HEAD-2003091401
[reactos.git]
/
lib
/
string
/
i386
/
tcsncmp.h
1
/* $Id$
2
*/
3
4
#include "tchar.h"
5
6
.globl _tcsncmp
7
8
_tcsncmp:
9
push %esi
10
push %edi
11
mov 0x0C(%esp), %esi /* s1 */
12
mov 0x10(%esp), %edi /* 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
_tscas
23
jne .L3
24
test %eax, %eax
25
jne .L1
26
27
.L2:
28
xor %eax, %eax
29
jmp .L4
30
31
.L3:
32
sbb %eax, %eax
33
or $1, %al
34
35
.L4:
36
pop %edi
37
pop %esi
38
ret
39
40
/* EOF */