From 3c2571e585617fb15a557a17157f000666292b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=82=BD=E7=83=AD=E9=87=91=E5=88=9A?= Date: Sat, 1 Nov 2025 17:31:38 +0800 Subject: [PATCH] Update inline-asm.md --- src/advance/unsafe/inline-asm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,