3 ms·
Not sure what you mean by “automatically managed” since the function preamble (before user code is run) saves registers etc. well, the abi specifies if the call
by gumby 7y ago
Not sure what you mean by “automatically managed” since the function preamble (before user code is run) saves registers etc. well, the abi specifies if the caller or callee does it but it’s a much of a muchness.
- dreamcompiler 7y agoI mean saving the address for control to return to so that the subroutine never has to know or care; it just executes the RET instruction. And RET is just POP+JMP. This is super handy--so handy that alternative control strategies aren't explored as much as they might have been otherwise.