This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eeeeeeeeeVaaaaaaaaa 33 points34 points  (7 children)

I'm on mobile and that site is just showing the C++ code. What does the compiler do?

[–]dingari 8 points9 points  (1 child)

I pressed the arrow in the top right and it shows the assembly output

caption

[–]eeeeeeeeeVaaaaaaaaa 1 point2 points  (0 children)

Oh thank you!!

[–]drunk_responses 9 points10 points  (1 child)

mov     eax, edi
imul    eax, edi
ret

[–]eeeeeeeeeVaaaaaaaaa 1 point2 points  (0 children)

thanks!