Rafael Gonzalez <astroraf...@yahoo.es> writes:

> Maybe it is a trivial observation, but I see that 2/ is a bad idea for 
> addresses > 32KWhatever (bytes or words)
> since sign propagation will produce an incorrect address. I defined u2/ 
> myself for that purpose.

Good point, thanks!

Interestingly, RC1 does not address this important issue of sign
extension.

Yes, we should have u2/ in our lib as well.

Regards, Enoch.

> ________________________________
>  De: Enoch <i...@hotmail.com>
> Para: amforth-devel@lists.sourceforge.net 
> Enviado: Lunes 1 de abril de 2013 7:29
> Asunto: [Amforth] Quite trivial
>  
> Hello Matthias & All:
>
> Here's a useful word to add to our lib (IMHO).
>
> Regards, Enoch.
>
> P/S ( f-addr count ) is produced by s"
>
> ----------------------------------------------------------------------
>
> \ copy "count" bytes from Flash to RAM
> : imove  ( f-addr count addr -- )
>    swap 0 ?do
>       over i 2/ + @i
>       i 1 and  if  ><  then
>       over i + c!
>    loop
>    2drop
> ;
>
>
> ------------------------------------------------------------------------------
> Own the Future-Intel&reg; Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game 
> on Steam. $5K grand prize plus 10 genre and skill prizes. 
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> ------------------------------------------------------------------------------
> Own the Future-Intel&reg; Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game 
> on Steam. $5K grand prize plus 10 genre and skill prizes. 
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
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