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

3.1 Stack Operations

03188 DUP ( ob → ob ob )
0F593 DUPDUP ( ob → ob ob ob )
15337 NDUPN ( ob #n → ob..ob #n )
( ob #0 → #0 )
0F892 DUPROT ( 1 2 → 2 2 1 )
0D0D8 DUPUNROT ( 1 2 → 2 1 2 )
aka: SWAPOVER
0F9D2 DUPROLL ( 1..n #n → 1 3..n #n 2 )
0F9BE DUPPICK ( n..1 #n → n..1 #n n-1 )
031AC 2DUP ( 1 2 → 1 2 1 2 )
104BB 2DUP5ROLL ( 1 2 3 → 2 3 2 3 1 )
031D9 NDUP ( 1..n #n → 1..n 1..n )
03244 DROP ( 1 → )
0E322 DROPDUP ( 1 2 → 1 1 )
10821 DROPNDROP ( 1..n #n ob → )
0E287 DROPSWAP ( 1 2 3 → 2 1 )
0F8A6 DROPROT ( 1 2 3 4 → 2 3 1 )
0F90A DROPOVER ( 1 2 3 → 1 2 1 )
03258 2DROP ( 1 2 → )
0CD2B 3DROP ( 1 2 3 → )
aka: XYZ>
0CD30 4DROP ( 1..4 → )
aka: XYZW>
0CD35 5DROP ( 1..5 → )
0CD41 6DROP ( 1..6 → )
0CD4D 7DROP ( 1..7 → )
0326E NDROP ( 1..n #n → )
0F84F #1+NDROP ( ob 1..n #n → )
aka: N+1DROP
0314C DEPTH ( 1..n → 1..n #n )
15194 reversym ( 1..n #n → n..1 #n )
03223 SWAP ( 1 2 → 2 1 )
0E2C2 SWAPDUP ( 1 2 → 2 1 1 )
1930B SWAP2DUP ( 1 2 → 2 1 2 1 )
0CD73 SWAPDROP ( 1 2 → 2 )
aka: XY>Y
0E3AB SWAPDROPDUP ( 1 2 → 2 2 )
0CD13 SWAPROT ( 1 2 3 → 3 2 1 )
aka: UNROTSWAP, XYZ>ZYX
104A7 SWAP4ROLL ( 1 2 3 4 → 2 4 3 1 )
aka: XYZW>YWZX
104CF SWAP3PICK ( 1 2 3 → 1 3 2 1 )
0DB7B 2SWAP ( 1 2 3 4 → 3 4 1 2 )
03295 ROT ( 1 2 3 → 2 3 1 )
0E2F0 ROTDUP ( 1 2 3 → 2 3 1 1 )
0F557 ROT2DUP ( 1 2 3 → 2 3 1 3 1 )
0CD01 ROTDROP ( 1 2 3 → 2 3 )
aka: XYZ>YZ
0E2A1 ROT2DROP ( 1 2 3 → 2 )
aka: DROPSWAPDROP, XYZ>Y
0CCEE ROTDROPSWAP ( 1 2 3 → 3 2 )
aka: XYZ>ZY
0CCC7 ROTSWAP ( 1 2 3 → 2 1 3 )
aka: XYZ>YXZ
0CF16 ROTROT2DROP ( 1 2 3 → 3 )
aka: UNROT2DROP, XYZ>Z
0F57F ROTOVER ( 1 2 3 → 2 3 1 3 )
0CD93 4ROLL ( 1 2 3 4 → 2 3 4 1 )
aka: FOURROLL, XYZW>YZWX
0F7A5 4ROLLSWAP ( 1 2 3 4 → 2 3 1 4 )
0F8E2 4ROLLROT ( 1 2 3 4 → 2 4 1 3 )
aka: FOURROLLROT
0F982 4ROLLOVER ( 1 2 3 4 → 2 3 4 1 4 )
0CDB0 5ROLL ( 1 2 3 4 5 → 2 3 4 5 1 )
aka: FIVEROLL
0CDDA 6ROLL ( 1..6 → 2..6 1 )
aka: SIXROLL
0CE43 7ROLL ( 1..7 → 2..7 1 )
aka: SEVENROLL
0CE14 8ROLL ( 1..8 → 2..8 1 )
aka: EIGHTROLL
0CE71 9ROLL ( 1..9 → 2..9 1 )
03325 ROLL ( 1..n #n → 2..n 1 )
0F863 ROLLDROP ( 1..n #n → 2..n )
0F61F ROLLSWAP ( 1..n #n → 2..n-1 1 n )
0D04B #1+ROLL ( ob 1..n #n → 1..n ob )
0D070 #2+ROLL ( a b 1..n #n → b 1..n a )
0D036 #+ROLL ( 1..n+m #n #m → 2..n+m 1 )
0D024 #-ROLL ( 1..n-m #n #m → 2..n-m 1 )
0CD84 UNROT ( 1 2 3 → 3 1 2 )
aka: 3UNROLL, XYZ>ZXY
0F5CF UNROTDUP ( 1 2 3 → 3 1 2 1 )
0E3C6 UNROTDROP ( 1 2 3 → 3 1 )
aka: SWAPDROPSWAP, XYZ>ZX
0F96E UNROTOVER ( 1 2 3 → 3 1 2 1 )
0CD84 3UNROLL ( 1 2 3 → 3 1 2 )
aka: UNROT, XYZ>ZXY
0CE8A 4UNROLL ( 1 2 3 4 → 4 1 2 3 )
aka: FOURUNROLL, XYZW>WXYZ
0F5E3 4UNROLLDUP ( 1 2 3 4 → 4 1 2 3 3 )
0CF28 4UNROLL3DROP ( 1 2 3 4 → 4 )
aka: XYZW>W
0F8F6 4UNROLLROT ( 1 2 3 4 → 4 3 2 1 )
0CEB0 5UNROLL ( 1 2 3 4 5 → 5 1 2 3 4 )
aka: FIVEUNROLL
0CEE6 6UNROLL ( 1..6 → 6 1..5 )
aka: SIXUNROLL
0F49E 7UNROLL ( 1..7 → 7 1..6 )
0F9FA 8UNROLL ( 1..8 → 8 1..7 )
0FA0E 10UNROLL ( 1..10 → 10 1..9 )
0339E UNROLL ( 1..n #n → n 1..n-1 )
0D0AB #1+UNROLL ( ob 1..n #n → n ob 1..n-1 )
0D0BD #2+UNROLL ( a b 1..n #n → n a b 1..n-1 )
0D096 #+UNROLL ( 1..n+m #n #m → n+m 1..n+m-1 )
0D084 #-UNROLL ( 1..n-m #n #m → n-m 1..n+m-1 )
032C2 OVER ( 1 2 → 1 2 1 )
0F5A7 OVERDUP ( 1 2 → 1 2 1 1 )
0F60B OVERSWAP ( 1 2 → 1 1 2 )
aka: OVERUNROT
0F60B OVERUNROT ( 1 2 → 1 1 2 )
aka: OVERSWAP
1050B OVER5PICK ( 1 2 3 4 → 1 2 3 4 3 1 )
10835 2OVER ( 1 2 3 4 → 1 2 3 4 1 2 )
0CFDE 3PICK ( 1 2 3 → 1 2 3 1 )
0F7B9 3PICKSWAP ( 1 2 3 → 1 2 1 3 )
0F996 3PICKOVER ( 1 2 3 → 1 2 3 1 3 )
104E3 3PICK3PICK ( 1 2 3 → 1 2 3 1 2 )
0CFE3 4PICK ( 1 2 3 4 → 1 2 3 4 1 )
0F7CD 4PICKSWAP ( 1 2 3 4 → 1 2 3 1 4 )
104F7 SWAP4PICK ( 1 2 3 4 → 1 2 4 3 1 )
0F9AA 4PICKOVER ( 1 2 3 4 → 1 2 3 4 1 4 )
0CFE8 5PICK ( 1 2 3 4 5 → 1 2 3 4 5 1 )
0CFED 6PICK ( 1..6 → 1..6 1 )
0CFF2 7PICK ( 1..7 → 1..7 1 )
0CFF7 8PICK ( 1..8 → 1..8 1 )
0CFFC 9PICK ( 1..9 → 1..9 1 )
0D001 10PICK ( 1..10 → 1..10 1 )
032E2 PICK ( 1..n #n → 1..n 1 )
0CF8F #1+PICK ( 1..n #n-1 → 1..n 1 )
0CFAA #2+PICK ( 1..n #n-2 → 1..n 1 )
0CFBE #3+PICK ( 1..n #n-3 → 1..n 1 )
0CFCD #4+PICK ( 1..n #n-4 → 1..n 1 )
0CF70 #+PICK ( 1..n+m #n #m → 1..n+m 1 )
0CF5E #-PICK ( 1..n-m #n #m → 1..n-m 1 )


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

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