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-10-02 18:48:39 -04:00
|
|
|
xor r9, r9
|
2021-09-17 09:18:29 -04:00
|
|
|
_loop67865432:
|
|
|
|
|
2021-10-02 18:48:39 -04:00
|
|
|
mov r9, [rdi]
|
|
|
|
cmp r9, 0
|
2021-09-17 09:18:29 -04:00
|
|
|
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
|