strcpy(): Assure DF=0
This commit is contained in:
@@ -46,6 +46,7 @@ strcpy:
|
|||||||
dec rcx
|
dec rcx
|
||||||
.copy:
|
.copy:
|
||||||
mov rdi, r8
|
mov rdi, r8
|
||||||
|
cld
|
||||||
rep movsb
|
rep movsb
|
||||||
mov byte [rdi], EOS
|
mov byte [rdi], EOS
|
||||||
mov rax, r8
|
mov rax, r8
|
||||||
|
Reference in New Issue
Block a user