We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5c53c4 + 9ba3614 commit 2274074Copy full SHA for 2274074
content/Rust-1.88.0.md
@@ -53,7 +53,7 @@ For example:
53
pub unsafe extern "sysv64" fn wrapping_add(a: u64, b: u64) -> u64 {
54
// Equivalent to `a.wrapping_add(b)`.
55
core::arch::naked_asm!(
56
- "add rax, rdi, rsi",
+ "lea rax, [rdi + rsi]",
57
"ret"
58
);
59
}
0 commit comments