diff --git a/content/Rust-1.88.0.md b/content/Rust-1.88.0.md index 861c8082e..ac7273167 100644 --- a/content/Rust-1.88.0.md +++ b/content/Rust-1.88.0.md @@ -53,7 +53,7 @@ For example: pub unsafe extern "sysv64" fn wrapping_add(a: u64, b: u64) -> u64 { // Equivalent to `a.wrapping_add(b)`. core::arch::naked_asm!( - "add rax, rdi, rsi", + "lea rax, [rdi + rsi]", "ret" ); }