Defines | |
#define | STACKpush(src) sat_pushptr(src) |
push an address on the stack | |
Functions | |
SatAddr | STACKpop () |
Pop an address off the stack. | |
SatAddr | STACKpick (int level) |
pick an object on the stack from an arbitrary level. | |
int | STACKdepth () |
Get the stack depth. |
#define STACKpush | ( | src | ) | sat_pushptr(src) |
push an address on the stack
src | Saturn address of an object to push |
int STACKdepth | ( | ) |
Get the stack depth.
This is faster and more accurate than sat_stack_depth(), which will return the wrong value if you push zero on the stack.
SatAddr STACKpick | ( | int | level | ) |
pick an object on the stack from an arbitrary level.
the | stack level (1, 2, 3, etc). |
SatAddr STACKpop | ( | ) |
Pop an address off the stack.