This commit is contained in:
nub31
2025-01-30 18:05:59 +01:00
parent 1f4b2a42eb
commit b6c80af6c4
11 changed files with 67 additions and 14 deletions

13
input/core/str_len.asm Normal file
View File

@@ -0,0 +1,13 @@
global str_len
section .text
str_len:
xor rax, rax
.loop:
cmp byte [rdi], 0
jz .done
inc rax
inc rdi
jmp .loop
.done:
ret