4 ms·
The calling convention does say where to look for the return value. So in a sense the return value always exists, but would not be meaningful if the function ha
by MobiusHorizons 2y ago
The calling convention does say where to look for the return value. So in a sense the return value always exists, but would not be meaningful if the function has a void return type.
- simiones 2y agoThe calling convention is part of the abstraction, it's not part of the processor's logic. Different languages often have different calling conventions, on the same OS and processor family. Different OSs have different calling conventions for their system calls.