Diff for /gforth/vmgen-ex/mini-inst.vmg between versions 1.1 and 1.5

version 1.1, 2001/05/01 10:20:55 version 1.5, 2007/12/31 18:40:26
Line 1 Line 1
 \ mini.inst is generated automatically from mini-inst.vmg and mini-super.vmg  \ mini.inst is generated automatically from mini-inst.vmg and mini-super.vmg
 \ example .vmg file  \ example .vmg file
   
 \ Copyright (C) 2001 Free Software Foundation, Inc.  \ Copyright (C) 2001,2002,2003 Free Software Foundation, Inc.
   
 \ This file is part of Gforth.  \ This file is part of Gforth.
   
 \ Gforth is free software; you can redistribute it and/or  \ Gforth is free software; you can redistribute it and/or
 \ modify it under the terms of the GNU General Public License  \ modify it under the terms of the GNU General Public License
 \ as published by the Free Software Foundation; either version 2  \ as published by the Free Software Foundation, either version 3
 \ of the License, or (at your option) any later version.  \ of the License, or (at your option) any later version.
   
 \ This program is distributed in the hope that it will be useful,  \ This program is distributed in the hope that it will be useful,
Line 16 Line 16
 \ GNU General Public License for more details.  \ GNU General Public License for more details.
   
 \ You should have received a copy of the GNU General Public License  \ You should have received a copy of the GNU General Public License
 \ along with this program; if not, write to the Free Software  \ along with this program. If not, see http://www.gnu.org/licenses/.
 \ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.  
   
   
 \ WARNING: This file is processed by m4. Make sure your identifiers  \ WARNING: This file is processed by m4. Make sure your identifiers
Line 38 Line 37
 \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 77  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.5


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