[gforth] / gforth / cross.fs  

gforth: gforth/cross.fs

Diff for /gforth/cross.fs between version 1.11 and 1.12

version 1.11, Fri Sep 2 15:23:33 1994 UTC version 1.12, Fri Sep 9 16:27:17 1994 UTC
Line 110 
Line 110 
   
 >CROSS  >CROSS
   
 endian  0 pad ! -1 pad c! pad @ 0<  bigendian  0 pad ! -1 pad c! pad @ 0<
 = [IF]   : bswap ; immediate  = [IF]   : bswap ; immediate
 [ELSE]   : bswap ( big / little -- little / big )  0  [ELSE]   : bswap ( big / little -- little / big )  0
            cell 1- FOR  bits/byte lshift over             cell 1- FOR  bits/byte lshift over
Line 733 
Line 733 
 \ [THEN]  \ [THEN]
 \ included throw after create-file                     11may93jaw  \ included throw after create-file                     11may93jaw
   
 endian Constant endian  bigendian Constant bigendian
   
 : save-cross ( "name" -- )  : save-cross ( "name" -- )
   bl parse ." Saving to " 2dup type    bl parse ." Saving to " 2dup type


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help