stl.return¶
Returns to the calling function (gets the return-address from the top of the stack).
note: jumps to the last-call’s pop_ret_address (which this macro counts as time, but not space, complexity).
Signature¶
def return < hex.pointers.sp { ... }
Defined in ptrlib.fj — lines 67–69 (view on GitHub).
Complexity¶
Time:
w(2@+7) + 9@+23Space:
w(2.375@+34) + 5@+67
See the complexity glossary for what @, w, dw, dbit, n mean.
Requires init¶
The following must be initialised before this macro is invoked:
the stack_init.