2021-09-17 09:18:29 -04:00
|
|
|
|
|
|
|
length_func:
|
2021-09-18 04:30:57 -04:00
|
|
|
|
2021-09-18 05:43:26 -04:00
|
|
|
mov r10, r8
|
2021-09-17 09:18:29 -04:00
|
|
|
_loop67865432:
|
|
|
|
|
|
|
|
mov r9b, [r8]
|
|
|
|
cmp r9b, 0
|
|
|
|
jz _exitloop4323567
|
|
|
|
inc r8
|
|
|
|
|
|
|
|
jmp _loop67865432
|
|
|
|
_exitloop4323567:
|
|
|
|
|
2021-09-18 05:43:26 -04:00
|
|
|
sub r8, r10
|
2021-09-18 04:30:57 -04:00
|
|
|
mov rax, r8
|
2021-09-17 09:18:29 -04:00
|
|
|
ret
|