What does leal (%eax, %eax) do?
-
03-07-2021 - |
Question
What does leal (%eax, %eax)
do? Does that multiply the contents at %eax * 2 since it has parens?
Solution
It will load the destination operand with the sum of eax
and eax
, IOW, 2*eax
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow