--- gforth/stuff.fs 2005/10/02 11:30:32 1.45 +++ gforth/stuff.fs 2006/01/28 18:46:15 1.49 @@ -1,6 +1,6 @@ \ miscelleneous words -\ Copyright (C) 1996,1997,1998,2000,2003,2004 Free Software Foundation, Inc. +\ Copyright (C) 1996,1997,1998,2000,2003,2004,2005 Free Software Foundation, Inc. \ This file is part of Gforth. @@ -159,7 +159,7 @@ AUser CSP 2dup find-name dup if ( c-addr u nt ) nip nip name>comp 2dup [comp'] [[ d= if - 2drop ['] compiler1 is parser1 + 2drop ['] compiler1 is parser1 ['] noop else ['] postpone, endif @@ -333,3 +333,21 @@ interpret/compile: what's ( interpretati emit loop ; +\ w and l stuff + +environment-wordlist >order + +16 address-unit-bits / 1 max constant /w ( -- u ) \ gforth +\G address units for a 16-bit value + +32 address-unit-bits / 1 max constant /l ( -- u ) \ gforth +\G address units for a 32-bit value + +previous + +[ifdef] uw@ +\ Open firmware names +' uw@ alias w@ ( addr -- u ) +' ul@ alias l@ ( addr -- u ) +\ ' sw@ alias