File:  [gforth] / gforth / arch / 386 / testasm.fs
Revision 1.7: download - view: text, annotated - select for diffs
Mon Dec 31 19:02:24 2007 UTC (16 years, 3 months ago) by anton
Branches: MAIN
CVS tags: v0-7-0, HEAD
updated copyright year after changing license notice

    1: \ Copyright (C) 2000,2003,2007 Free Software Foundation, Inc.
    2: 
    3: \ This file is part of Gforth.
    4: 
    5: \ Gforth is free software; you can redistribute it and/or
    6: \ modify it under the terms of the GNU General Public License
    7: \ as published by the Free Software Foundation, either version 3
    8: \ of the License, or (at your option) any later version.
    9: 
   10: \ This program is distributed in the hope that it will be useful,
   11: \ but WITHOUT ANY WARRANTY; without even the implied warranty of
   12: \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13: \ GNU General Public License for more details.
   14: 
   15: \ You should have received a copy of the GNU General Public License
   16: \ along with this program. If not, see http://www.gnu.org/licenses/.
   17: 
   18: \ this code works with the following register assignments:
   19: \ esi=sp, ebx=tos
   20: 
   21: code my+ ( n1 n2 -- n )
   22:     4 si D) bx add
   23:     4 # si add
   24:     Next
   25: end-code
   26: 
   27: \ see my+
   28: \ 3 5 my+ .

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