News for hackers. Stuff that matters.
Re:C, C++, x86/x64 assembly: The case of forgotten return by emilfihlman on Friday December 14, 2018 @07:38PM (#18686234)
>And this is also yet another demonstration, how C/C++ places return value into EAX/RAX register.

No, it's a compiler implementation detail, not a C/++ specification.

Re:C, C++, x86/x64 assembly: The case of forgotten return by ajross on Friday December 14, 2018 @07:41PM (#18686242)
It's specified by the relevant ABI standard, FWIW.