> (ud u2) are 3-cells not 2, so I was wrong. > > Please forget my previous message. > There is no stack underflow raised.
There is no check whether there are enough data items on the stack available. The stack underflow happens only inside um/mod. The interpreter checks the stack only after the current word on the command line has finished. And here a um/mod with 2 cells as input leaves 1 cell, no underflow happens from the outside perspective. Is there a lint available for forth? Matthias ------------------------------------------------------------------------------ _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel