diff --git a/src/string.asm b/src/string.asm index d257102..965c13d 100644 --- a/src/string.asm +++ b/src/string.asm @@ -46,6 +46,7 @@ strcpy: dec rcx .copy: mov rdi, r8 + cld rep movsb mov byte [rdi], EOS mov rax, r8