Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. ;ebx - pointer to string
  2. GetLengthString:
  3.  
  4.       xor ecx,ecx
  5.  
  6.       next_simvol:
  7.         inc ecx
  8.         xor eax,eax
  9.         mov al,[ebx]
  10.         test al,al
  11.         jz null
  12.         inc ebx
  13.        jmp next_simvol
  14.  
  15.       null:
  16.       mov eax,ecx
  17.       dec eax
  18.  
  19.       ret