StrLength PROC
Returns the length of a null-terminated string in
EAX.
Call args: EDX = offset of the string
Return arg: EAX = number of non-null bytes
Example:
.data
buffer BYTE "abcde",0
bufLength DWORD ?
.code
mov edx,OFFSET buffer
call StrLength
mov bufLength,eax
| Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |