The Stack |
|
On the stack we can store registers and strings. This is useful to give arguments to a subroutine. You can find more about this in the PDF manual.
L = long Register, D = double Register
S = string Variable
ston; activate stack
stpush_l L; store register "L" on stack
stpush_d D;
stpush_s S;
stpush_all_l; store all long registers on stack
stpush_all_d;
stpull_l L; get register "L" from stack
stpull_d D;
stpull_s S;
stpull_all_l; get all long registers from stack
stpull_all_d;
show_stack; print the stack
Prev: Processes | Next: Preprocessor
|