Hi,

>>> Yes, UNTIL consumes a flag. IF consumes a flag too.
> 
>> OK. Does amforth's words page have then error in if (  -- addr  )
>> ? shouldn't that be ( f -- addr) Also until (  addr --  )
>> looks wrong. (f -- ) as it is making boolean decission.
> 
> You are right, that has to be fixed.

IF has multiple stack effects, its a compiler word. When
called as part of the compiler, it leaves an address on
the stack, when called at runtime it consumes a flag.
I have no good idea to document this yet.

btw: the sleep word takes now a parameter which contains
the actual sleep mode and I checked in the timer interrupt
in forth - democode. Nothing exciting but hopefully useful

Matthias

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Amforth-devel mailing list
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to