diff --git a/src/advance/unsafe/inline-asm.md b/src/advance/unsafe/inline-asm.md index 12ee253d75..216e7af092 100644 --- a/src/advance/unsafe/inline-asm.md +++ b/src/advance/unsafe/inline-asm.md @@ -177,7 +177,7 @@ fn mul(a: u64, b: u64) -> u128 { unsafe { asm!( // The x86 mul instruction takes rax as an implicit input and writes - // the 128-bit result of the multiplication to rax:rdx. + // the 128-bit result of the multiplication to rdx:rax. "mul {}", in(reg) a, inlateout("rax") b => lo,