2020-04-14 10:04:09 -04:00
|
|
|
Parameter Stack
|
|
|
|
|
|
|
|
DROP a --
|
|
|
|
DUP a -- a a
|
|
|
|
OVER a b -- a b a
|
|
|
|
ROT a b c -- b c a
|
|
|
|
SWAP a b -- b a
|
|
|
|
2DROP a a --
|
|
|
|
2DUP a b -- a b a b
|
|
|
|
2OVER a b c d -- a b c d a b
|
|
|
|
2SWAP a b c d -- c d a b
|
2020-04-20 21:22:07 -04:00
|
|
|
PICK Pick nth item from stack. "0 PICK" = DUP,
|
|
|
|
"1 PICK" = OVER.
|
2020-04-20 23:06:39 -04:00
|
|
|
ROLL Rotate PSP over n items. "1 ROLL" = SWAP,
|
|
|
|
"2 ROLL" = ROT. 0 is noop.
|
2020-04-16 19:44:17 -04:00
|
|
|
|