mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +00:00
33 lines
373 B
PHP
33 lines
373 B
PHP
|
|
#include "tchar.h"
|
|
#include <asm.inc>
|
|
|
|
PUBLIC _tcschr
|
|
.code
|
|
|
|
FUNC _tcschr
|
|
FPO 0, 2, 1, 1, 0, FRAME_FPO
|
|
push esi
|
|
mov esi, [esp + 8]
|
|
mov edx, [esp + 12]
|
|
cld
|
|
|
|
.L1:
|
|
_tlods
|
|
cmp _treg(d), _treg(a)
|
|
je .L2
|
|
test _treg(a), _treg(a)
|
|
jnz .L1
|
|
mov esi, _tsize
|
|
|
|
.L2:
|
|
mov eax, esi
|
|
_tdec(eax)
|
|
|
|
pop esi
|
|
ret
|
|
ENDFUNC
|
|
|
|
END
|
|
/* EOF */
|