From: pito <pi...@vo...> - 2010-09-18 08:49:06
|
Hi, just as an inspiration - for people who use amforth with student for education - in the FlashForth there is a nice worh "help" I like (see ff36). You load the help and helpwords (~few kB) and: help emit emit c -- Emit c to the serial port FIFO. FIFO is 46 chars. Execut es pause. ok<$,ram> help rot rot x1 x2 x3 -- x2 x3 x1 Rotate three top stack items ok<$,ram> help cmove cmove addr1 addr2 u -- Move u chars from addr1 to addr2 ok<$,ram> help tuck tuck x1 x2 -- x2 x1 x2 Insert x2 below x1 in the stack ok<$,ram> It fits to bigger atmegas.. P. |