mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2025-09-12 21:45:56 -04:00

- Move source code from `trunk` into program root directory. - Fix build and ASM files. - Translated a few RU comments to en_US. - Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden. (Work towards #75, point 3) Reviewed-on: https://git.kolibrios.org/KolibriOS/kolibrios/pulls/244 Reviewed-by: Gleb Zaharov <risdeveau@codrs.ru> Reviewed-by: Burer <burer@kolibrios.org> Co-authored-by: Andrew <dent.ace@gmail.com> Co-committed-by: Andrew <dent.ace@gmail.com>
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
|