X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=blobdiff_plain;f=src%2Flib_10_misc.4th;h=77776c853110d30f30cbe9965085445adee729c1;hb=43cd7e6d8968a85ee9250033080268caafef5a47;hp=a864cbbedae0d1b2d8a4df81b05dc525447fbbb0;hpb=fba53adbaa70e296388c421aa182ff7bad090b17;p=forth.jl.git diff --git a/src/lib_10_misc.4th b/src/lib_10_misc.4th index a864cbb..77776c8 100644 --- a/src/lib_10_misc.4th +++ b/src/lib_10_misc.4th @@ -1,4 +1,4 @@ -\ Miscellaneous core words +\ Miscellaneous undefined core words : ROLL ( x_u x_u-1... x_0 u -- x_u-1 ... x_0 x_u ) 1+ DUP PICK SWAP ( x_u x_u-1 ... x_0 x_u u+1 ) @@ -24,13 +24,9 @@ then ; -: MIN ( n m -- max ) - 2dup - 0> if - swap drop - else - drop - then -; +( Stractch pad. ) +: PAD ( -- addr ) + HERE 340 + ; : UNUSED ( -- cells ) MEMSIZE HERE - ;