From a9c55de9d0b18e06c28330724d1c6425ff1012bf Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Mon, 28 Dec 2020 14:55:31 +0100 Subject: [PATCH] Fix bad conversion from llvm_asm! to asm! --- src/instructions/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instructions/mod.rs b/src/instructions/mod.rs index 1441260f1..cfafedfe9 100644 --- a/src/instructions/mod.rs +++ b/src/instructions/mod.rs @@ -48,7 +48,7 @@ pub fn nop() { #[inline] pub fn bochs_breakpoint() { unsafe { - asm!("xchgw bx, bx", options(nomem, nostack)); + asm!("xchg bx, bx", options(nomem, nostack)); } }