From: Erich W. <ew....@na...> - 2010-06-02 09:36:11
|
Hello, I was wondering, why my simple code would stall the controller. Turns out that '<' and '>' behave differently, or more precisely, '>' (words/greater.asm) seems broken. This is in releases/3.8, but md5sum suggests, this file is unchanged in e7c30a91806871702d10a0fe4a2f8b28 Forth/amforth/releases/3.3/core/words/greater.asm e7c30a91806871702d10a0fe4a2f8b28 Forth/amforth/releases/3.4/core/words/greater.asm e7c30a91806871702d10a0fe4a2f8b28 Forth/amforth/releases/3.5/core/words/greater.asm e7c30a91806871702d10a0fe4a2f8b28 Forth/amforth/releases/3.6/core/words/greater.asm e7c30a91806871702d10a0fe4a2f8b28 Forth/amforth/releases/3.7/core/words/greater.asm e7c30a91806871702d10a0fe4a2f8b28 Forth/amforth/releases/3.8/core/words/greater.asm e7c30a91806871702d10a0fe4a2f8b28 Forth/amforth/releases/3.9/core/words/greater.asm e7c30a91806871702d10a0fe4a2f8b28 Forth/amforth/trunk/core/words/greater.asm However, this could be a sideeffect from some other change ... > ver amforth 3.8 ATmega32 ok > : f1 1 > if ." gt" else ." not gt" then cr ; ok > : f2 1 < if ." lt" else ." not lt" then cr ; ok > 4 f2 not lt ok > 4 f1 ��獊����� <-- controller stalls here Cheers, Erich |