diff --git a/arch/x86_64/src/lib.rs b/arch/x86_64/src/lib.rs index bbc68ce..808d238 100644 --- a/arch/x86_64/src/lib.rs +++ b/arch/x86_64/src/lib.rs @@ -139,14 +139,7 @@ macro_rules! interrupt_error { } // Push scratch registers - asm!("pop rax - pop rbx - pop rcx - pop rdx - pop rsi - pop rdi - hlt - push rax + asm!("push rax push rcx push rdx push rdi