ptrlib.fj¶
———- Init
Macros¶
stl¶
stl.ptr_init— One-time initialisation of the pointer dispatch infrastructure. Usestl.startup_and_init_pointers, which calls this for you.stl.stack_init— Initializes a stack of size n (maximal capacity of n hexes /return-addresses).stl.call/1— Saves the return address to the stack and jumps to the given “address”.stl.call/2— Saves the return address to the stack and jumps to the given “address”.stl.return— Returns to the calling function (gets thereturn-addressfrom the top of the stack).stl.get_sp—dst[:w/4] = spstl.fcall— Jumps to label, and saves the return address in the given “ret_reg” variable.stl.fret— Return into the address written in the “ret_reg” variable.