Re: [Flashforth-devel] some Forth-Wishes
Brought to you by:
oh2aun
From: Mikael N. <mik...@pp...> - 2014-03-14 12:09:58
|
Hi Thomas, Christmas comes early this year :-) FlashForth is a 16 bit implementation so ! always stores 16-bits. : w! ! ; And Forth is also extensible so here is hex. : hex. base @ >r [char] $ emit hex u. r> base ! ; BR Mikael On 03/14/2014 01:55 PM, Thomas Buschhardt wrote: > Hallo, > > I have some wishes for flashforth (I know christmas is coming late) - > maybe you can help me out: > > Definitions taken from gforth: > |w!| /w c-addr – / gforth "w-store" > Store the bottom 16 bits of /w/ at /c_addr/. > |hex.|/u –/gforth "hex." > Display/u/ as an unsigned hex number, prefixed with a "$" andfollowed by a space. > Thank you > and a happy christm... äh weekend > Thomas |