zombie-core-utils/length_func.inc

17 lines
170 B
PHP

length_func:
mov r10, r8
_loop67865432:
mov r9b, [r8]
cmp r9b, 0
jz _exitloop4323567
inc r8
jmp _loop67865432
_exitloop4323567:
sub r8, r10
mov rax, r8
ret