Diff for /gforth/xxxprim between versions 1.3 and 1.5

version 1.3, 2003/10/01 09:15:45 version 1.5, 2003/10/05 20:14:10
Line 138 Line 138
   
 \ set up stack caching states  \ set up stack caching states
   
   \E register IPTOS Cell
 \E register spTOS Cell  \E register spTOS Cell
 \E register sp1 Cell  \E register sp1 Cell
 \E register sp2 Cell  \E register sp2 Cell
 \E register sp3 Cell  \E register sp3 Cell
   
 \E create regs spTOS , sp1 , sp2 , sp3 ,  \E create IPregs IPTOS ,
   \E create regs sp2 , sp1 , spTOS ,
   
 \E regs 0 0 stack-state ss0  \E IPregs 1 0 stack-state IPss1
 \E regs 1 1 stack-state ss1  \E regs           0 -1 stack-state ss0
 \E regs 2 2 stack-state ss2  \E regs 2 cells + 1  0 stack-state ss1
 \E regs 3 3 stack-state ss3  \E regs 1 cells + 2  1 stack-state ss2
   \E regs 0 cells + 3  2 stack-state ss3
   
 \E state S0  \E state S0
 \E state S1  \E state S1
 \E state S2  \E state S2
 \E state S3  \E state S3
   
 \E ss0 data-stack s0 set-ss  \E ss0 data-stack S0 set-ss
 \E ss1 data-stack s1 set-ss  \E ss1 data-stack S1 set-ss
 \E ss2 data-stack s2 set-ss  \E ss2 data-stack S2 set-ss
 \E ss3 data-stack s3 set-ss  \E ss3 data-stack S3 set-ss
   
   \E IPss1 inst-stream S0 set-ss
   \E IPss1 inst-stream S1 set-ss
   \E IPss1 inst-stream S2 set-ss
   \E IPss1 inst-stream S3 set-ss
   
   \E data-stack to cache-stack
   \E here 4 cache-states 2! s0 , s1 , s2 , s3 ,
   
 \E S1 to state-in  \E S1 to state-in
 \E S1 to state-out  \E S1 to state-out
Line 171  lit ( #w -- w )  gforth Line 182  lit ( #w -- w )  gforth
  r> dup @ swap cell+ >r ;   r> dup @ swap cell+ >r ;
   
 over ( n1 n2 -- n1 n2 n1 )  over ( n1 n2 -- n1 n2 n1 )
   
   drop ( n -- )
   
   \E prim-states drop
   \E prim-states over

Removed from v.1.3  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>