From 9b1519b2f4a266e69fa8dafb1bfeb7fc316b0ba6 Mon Sep 17 00:00:00 2001 From: Kwarde Date: Sun, 6 Jul 2025 21:35:50 +0200 Subject: [PATCH] strcpy(): Assure DF=0 --- src/string.asm | 1 + 1 file changed, 1 insertion(+) 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