This commit is contained in:
nub31
2025-01-29 21:39:55 +01:00
parent 39be4d823b
commit d685fe2209
12 changed files with 205 additions and 1 deletions

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

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