Diff for /gforth/vmgen-ex2/mini-inst.vmg between versions 1.1 and 1.2

version 1.1, 2002/06/02 15:46:17 version 1.2, 2002/08/20 07:59:02
Line 38 Line 38
 \E s" Inst *" single data-stack type-prefix target  \E s" Inst *" single data-stack type-prefix target
   
 \ simple VM instructions:  \ simple VM instructions:
 add  ( i1 i2 -- i )  add ( i1 i2 -- i )
 i = i1+i2;  i = i1+i2;
   
 sub ( i1 i2 -- i )  sub ( i1 i2 -- i )
Line 78  SET_IP(target); Line 78  SET_IP(target);
 zbranch ( #target i -- )  zbranch ( #target i -- )
 if (i==0) {  if (i==0) {
   SET_IP(target);    SET_IP(target);
   TAIL;    INST_TAIL;
 }  }
   
 \  The stack is organized as follows:  \  The stack is organized as follows:

Removed from v.1.1  
changed lines
  Added in v.1.2


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