Skip to content

Commit 729eefa

Browse files
authored
Fix bad conversion from llvm_asm! to asm! (#218)
1 parent 38f1c7d commit 729eefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instructions/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub fn nop() {
4848
#[inline]
4949
pub fn bochs_breakpoint() {
5050
unsafe {
51-
asm!("xchgw bx, bx", options(nomem, nostack));
51+
asm!("xchg bx, bx", options(nomem, nostack));
5252
}
5353
}
5454

0 commit comments

Comments
 (0)