Subversion Repositories Kolibri OS

Rev

Rev 255 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;-----------------------------------------------------------
  2. ;-------find simvole in string------------------------------
  3. ;-----------------------------------------------------------
  4.  
  5. ;input:
  6. ;eax=string
  7. ;ebx=symvol
  8. find_symvol:
  9.         mov esi,eax
  10.         next_symvol:
  11.         cmp byte[eax],bl
  12.         je symvol_fined
  13.         inc eax
  14.         jmp next_symvol
  15.  
  16.         symvol_fined:
  17.         sub eax,esi
  18.  
  19.         ret
  20.