[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.10.1 Stack Functions

5E35C (dup) ( meta → meta meta )
0326E NDROP ( 1..n #n → )
63FA6 DROPNDROP ( 1..n #n ob → )
62F75 #1+NDROP ( ob 1..n #n → )
aka: N+1DROP
169A5 NDROPFALSE ( ob1..obn #n → F )
5EB1C psh ( meta1 meta2 → meta2 meta1 )
Should be called swap.
5EB58 (rot) ( meta1 meta2 meta3 → meta2 meta3 meta1 )
5EBDB (unrot) ( meta1 meta2 meta3 → meta3 meta1 meta2 )
5EBC6 (4roll) ( meta1 meta2 meta3 meta4 → meta2 meta3 meta4 meta1 )
5EBEA (4unroll) ( meta1 meta2 meta3 meta4 → meta4 meta1 meta2 meta3 )
5ED45 (5roll) ( meta1..meta5 → meta2..meta5 meta1 )
5ED5A (5unroll) ( meta1..meta5 → meta5 meta1..meta4 )
5EBFC (N+1roll) ( META1..METAn+1 #n → META2..METAn+1 META1 )
5ED6C (N+1unroll) ( META1..METAn+1 #n → METAn+1 META1..METAn )
63911 SWAPUnNDROP ( meta1 meta2 → meta2 )
Should be called swapdrop.
638FD SWAPUnDROP ( meta1 meta2 → meta2 ob1..obn )
Swaps two metas and drops the count. Should be called swapDROP.
5E857 (rotswap) ( meta1 meta2 meta3 → meta2 meta1 meta3 )
63F1A metaROTDUP ( meta1 meta2 meta3 → meta2 meta3 meta1 meta1 )
Should be called rotdup.
5E870 (4rollunrot) ( meta1 meta2 meta3 meta4 → meta2 meta1 meta3 meta4 )


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Carsten Dominik on May, 30 2005 using texi2html