Added tester and commentary to asm files

This commit is contained in:
2024-06-23 20:56:34 +02:00
parent eb33c211ba
commit bfceb18b34
5 changed files with 18 additions and 17 deletions

View File

@@ -12,6 +12,6 @@ ft_strcpy:
jmp .cpy
.end:
mov byte [rdi + rdx], 0
mov rax, rdi
ret
mov byte [rdi + rdx], 0 ; dest[rdx] = '\0'
mov rax, rdi ; set dest as the return value
ret ; return