20 lines
213 B
PHP
20 lines
213 B
PHP
|
|
length_func:
|
|
pop r8
|
|
_loop67865432:
|
|
|
|
|
|
mov r9b, [r8]
|
|
cmp r9b, 0
|
|
jz _exitloop4323567
|
|
inc r8
|
|
|
|
jmp _loop67865432
|
|
_exitloop4323567:
|
|
dec r8 ; idk how to do it properly do im doing this instead
|
|
|
|
|
|
|
|
|
|
push r8
|
|
ret
|