mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 21:41:39 +00:00
Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
This commit is contained in:
parent
3e3200acef
commit
4f0b8d3db0
20620 changed files with 0 additions and 1232833 deletions
30
lib/sdk/crt/string/i386/tcschr.inc
Normal file
30
lib/sdk/crt/string/i386/tcschr.inc
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
#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 */
|
Loading…
Add table
Add a link
Reference in a new issue