It seems there are constants in float.frt defined as

0 0 fconstant f0 \ 0.0
0 16256 fconstant f1 \ 1.0
0 16672 fconstant f10 \ 10.0
0 16128 fconstant f0.5

So it needs to be redefined - something like _f0, _f1, _f10 ...
p.

----- PŮVODNÍ ZPRÁVA -----
Od: "pito" <p...@volna.cz>
Komu: amforth-devel@lists.sourceforge.net
Předmět: [Amforth] v4.9 - issue with F0 vs $F0 when in hex
Datum: 13.5.2012 - 3:04:48

> Hmm, following gives different results in 4.9:
> 
> > hex
> ok
> > : LCD_PORT F0 PORTC ;
> ok
> > LCD_PORT
> ok
> > .s
> 28 0 0  ok
> > ..
> .. ?? -13 2 
> > : LCD_PORT $F0 PORTC ;
> ok
> > LCD_PORT
> ok
> > .s
> 28 F0  ok
> > 
> 
> 
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> Exclusive live event will cover all the ways
> today's security and 
> threat landscape has changed and how IT managers
> can respond. Discussions 
> will include endpoint security, mobile security
> and the latest in malware 
> threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Amforth-devel mailing list for
> http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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