Last active
May 7, 2022 17:36
-
-
Save eventhelix/f609da080214fce2aac517d2a5071a09 to your computer and use it in GitHub Desktop.
Code generated for a Rust function that adds two numbers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; The caller has passed a and b in rdi and rsi. The load effective address | |
; instruction is used (misused?) to perform the addition. | |
lea rax, [rdi + rsi] | |
ret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment