minimal

Minimal Forth Workbench provides an educational subset of Standard Forth, feel free to experiment.



\ Minimal Forth Workbench: double words                                      uh 2015-10-15

: 2DUP ( d1 -- d1 d1 )  OVER OVER ;
: 2SWAP ( d1 d2 -- d2 d1 )  >R ROT ROT R> ROT ROT ;
: 2OVER ( d1 d2 -- d1 d2 d1 )  >R >R 2DUP R> R> 2SWAP ;

by UlrichHoffmann

avatar of UlrichHoffmann

Versions

1.1.1, 1.1.0, 1.0.0

Download current as zip

Tags

ansforth94, forth-94, forth-2012

Dependencies

None

Dependents

None