mirror of
https://github.com/reactos/reactos.git
synced 2025-07-05 20:31:23 +00:00
33 lines
421 B
PHP
33 lines
421 B
PHP
![]() |
/* $Id: tcschr.inc 49591 2010-11-15 01:29:12Z tkreuzer $
|
||
|
*/
|
||
|
|
||
|
#include "tchar.h"
|
||
|
#include <asm.inc>
|
||
|
|
||
|
PUBLIC _tcschr
|
||
|
.code
|
||
|
|
||
|
_tcschr:
|
||
|
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
|
||
|
|
||
|
END
|
||
|
/* EOF */
|