mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 07:36:48 +03:00
2e10d14758
git-svn-id: svn://kolibrios.org@6341 a494cfbc-eb01-0410-851d-a64ba20cac60
20 lines
371 B
PHP
20 lines
371 B
PHP
;-----------------------------------------------------------
|
|
;-------find simvole in string------------------------------
|
|
;-----------------------------------------------------------
|
|
|
|
;input:
|
|
;eax=string
|
|
;ebx=symvol
|
|
find_symvol:
|
|
mov esi,eax
|
|
next_symvol:
|
|
cmp byte[eax],bl
|
|
je symvol_fined
|
|
inc eax
|
|
jmp next_symvol
|
|
|
|
symvol_fined:
|
|
sub eax,esi
|
|
|
|
ret
|