Hi Matthias,

Thank you for kind answers, I have to think twice before write...

Paolo

-----Messaggio originale----- 
From: Matthias Trute
Sent: Friday, May 29, 2015 9:22 PM
To: Everything around amforth
Subject: Re: [Amforth] UM/MOD

> (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 


---
Questa e-mail รจ stata controllata per individuare virus con Avast antivirus.
http://www.avast.com


------------------------------------------------------------------------------
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to