diff --git a/arch/x86/kernel/string.asm b/arch/x86/kernel/string.asm index 62f0d853..27707b09 100644 --- a/arch/x86/kernel/string.asm +++ b/arch/x86/kernel/string.asm @@ -79,13 +79,13 @@ copy_page_physical: mov edx, 1024 ; 1024*4bytes = 4096 bytes -.loop: +L4: mov eax, [ebx] ; Get the word at the source address mov [ecx], eax ; Store it at the dest address add ebx, 4 ; Source address += sizeof(word) add ecx, 4 ; Dest address += sizeof(word) dec edx ; One less word to do - jnz .loop + jnz L4 mov edx, cr0 ; Get the control register again or edx, 0x80000000 ; and...