[gforth] / gforth / kernel / getdoers.fs  

gforth: gforth/kernel/getdoers.fs

Diff for /gforth/kernel/getdoers.fs between version 1.2 and 1.3

version 1.2, Tue Dec 8 22:03:10 1998 UTC version 1.3, Tue Mar 23 20:24:25 1999 UTC
Line 20 
Line 20 
   
 doer? :docon [IF]  doer? :docon [IF]
 : docon: ( -- addr )    \ gforth  : docon: ( -- addr )    \ gforth
     \G the code address of a @code{CONSTANT}      \G The code address of a @code{CONSTANT}.
     ['] bl >code-address ;      ['] bl >code-address ;
 [THEN]  [THEN]
   
 : docol: ( -- addr )    \ gforth  : docol: ( -- addr )    \ gforth
     \G the code address of a colon definition      \G The code address of a colon definition.
     ['] on >code-address ;      ['] on >code-address ;
 \ !! mark on  \ !! mark on
   
 doer? :dovar [IF]  doer? :dovar [IF]
 : dovar: ( -- addr )    \ gforth  : dovar: ( -- addr )    \ gforth
     \G the code address of a @code{CREATE}d word      \G The code address of a @code{CREATE}d word.
     \ in rom-applications variable might be implemented with constant      \ in rom-applications variable might be implemented with constant
     \ use really a created word!      \ use really a created word!
     ['] ??? >code-address ;      ['] ??? >code-address ;
Line 39 
Line 39 
   
 doer? :douser [IF]  doer? :douser [IF]
 : douser: ( -- addr )   \ gforth  : douser: ( -- addr )   \ gforth
     \G the code address of a @code{USER} variable      \G The code address of a @code{USER} variable.
     ['] sp0 >code-address ;      ['] sp0 >code-address ;
 [THEN]  [THEN]
   
 doer? :dodefer [IF]  doer? :dodefer [IF]
 : dodefer: ( -- addr )  \ gforth  : dodefer: ( -- addr )  \ gforth
     \G the code address of a @code{defer}ed word      \G The code address of a @code{defer}ed word.
     ['] source >code-address ;      ['] source >code-address ;
 [THEN]  [THEN]
   
 doer? :dofield [IF]  doer? :dofield [IF]
 : dofield: ( -- addr )  \ gforth  : dofield: ( -- addr )  \ gforth
     \G the code address of a @code{field}      \G The code address of a @code{field}.
     ['] reveal-method >code-address ;      ['] reveal-method >code-address ;
 [THEN]  [THEN]
   
 has? prims 0= [IF]  has? prims 0= [IF]
 : dodoes: ( -- addr )   \ gforth  : dodoes: ( -- addr )   \ gforth
     \G the code address of a @code{field}      \G The code address of a @code{field}???
     ['] spaces >code-address ;      ['] spaces >code-address ;
 [THEN]  [THEN]


Generate output suitable for use with a patch program
Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help