[gforth] / gforth / kernel / comp.fs  

gforth: gforth/kernel/comp.fs

Diff for /gforth/kernel/comp.fs between version 1.10 and 1.11

version 1.10, Tue Mar 23 20:24:24 1999 UTC version 1.11, Mon Mar 29 22:52:32 1999 UTC
Line 25 
Line 25 
 \ \ here allot , c, A,                                          17dec92py  \ \ here allot , c, A,                                          17dec92py
   
 : allot ( n -- ) \ core  : allot ( n -- ) \ core
       \G Reserve or release @var{n} address units of data space; @var{n}
       \G is a signed number. There are restrictions on releasing data
       \G space.
     dup unused u> -8 and throw      dup unused u> -8 and throw
     dp +! ;      dp +! ;
   
 : c,    ( c -- ) \ core  : c,    ( c -- ) \ core
       \G Reserve data space for one char and store @var{c} in the space.
     here 1 chars allot c! ;      here 1 chars allot c! ;
   
 : ,     ( x -- ) \ core  : ,     ( w -- ) \ core
       \G Reserve data space for one cell and store @var{w} in the space.
     here cell allot  ! ;      here cell allot  ! ;
   
 : 2,    ( w1 w2 -- ) \ gforth  : 2,    ( w1 w2 -- ) \ gforth
       \G Reserve data space for two cells and store the double @var{w1
       \G w2} in the space.
     here 2 cells allot 2! ;      here 2 cells allot 2! ;
   
 \ : aligned ( addr -- addr' ) \ core  \ : aligned ( addr -- addr' ) \ core


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help