2021-09-17 09:18:29 -04:00
|
|
|
|
|
|
|
length_func:
|
2021-09-18 04:30:57 -04:00
|
|
|
|
2021-09-24 17:33:36 -04:00
|
|
|
mov r10, rdi
|
2021-09-17 09:18:29 -04:00
|
|
|
_loop67865432:
|
|
|
|
|
2021-09-24 17:33:36 -04:00
|
|
|
mov r9b, [rdi]
|
2021-09-17 09:18:29 -04:00
|
|
|
cmp r9b, 0
|
|
|
|
jz _exitloop4323567
|
2021-09-24 17:33:36 -04:00
|
|
|
inc rdi
|
2021-09-17 09:18:29 -04:00
|
|
|
|
|
|
|
jmp _loop67865432
|
|
|
|
_exitloop4323567:
|
|
|
|
|
2021-09-24 17:33:36 -04:00
|
|
|
sub rdi, r10
|
|
|
|
mov rax, rdi
|
2021-09-17 09:18:29 -04:00
|
|
|
ret
|