mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
34 lines
315 B
C
34 lines
315 B
C
/* $Id$
|
|
*/
|
|
|
|
#include "tchar.h"
|
|
|
|
.globl _tcscmp
|
|
|
|
_tcscmp:
|
|
push %esi
|
|
push %edi
|
|
mov 0x0C(%esp), %esi
|
|
mov 0x10(%esp), %edi
|
|
xor %eax, %eax
|
|
cld
|
|
|
|
.L1:
|
|
_tlods
|
|
_tscas
|
|
jne .L2
|
|
test %eax, %eax
|
|
jne .L1
|
|
xor %eax, %eax
|
|
jmp .L3
|
|
|
|
.L2:
|
|
sbb %eax, %eax
|
|
or $1, %al
|
|
|
|
.L3:
|
|
pop %edi
|
|
pop %esi
|
|
ret
|
|
|
|
/* EOF */
|