[gforth] / gforth / simp-see.fs  

gforth: gforth/simp-see.fs

Diff for /gforth/simp-see.fs between version 1.2 and 1.3

version 1.2, Fri Dec 13 21:20:39 2002 UTC version 1.3, Tue Feb 25 22:58:48 2003 UTC
Line 20 
Line 20 
   
 require see.fs  require see.fs
   
 : simple-see-range ( addr1 addr2 -- )  : simple-see-range ( addr1 addr2 -- ) \ gforth
     swap u+do      swap u+do
         cr xpos off i hex. i cell+ i @ .word drop          cr xpos off i hex. i cell+ i @ .word drop
         cell +loop          cell +loop
 ;  ;
   
 : simple-see ( "name" -- )  : simple-see ( "name" -- ) \ gforth
       \G a simple decompiler that's closer to @code{dump} than @code{see}.
     \ !! at the moment NEXT-HEAD is a little too optimistic (see      \ !! at the moment NEXT-HEAD is a little too optimistic (see
     \ comment in HEAD?)      \ comment in HEAD?)
     ' >body dup next-head simple-see-range ;      ' >body dup next-head simple-see-range ;


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