Annotation of gforth/arch/386/testasm.fs, revision 1.4

1.4     ! anton       1: \ Copyright (C) 2000 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 2
        !             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, write to the Free Software
        !            17: \ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
        !            18: 
1.1       anton      19: \ this code works with the following register assignments:
1.3       pazsan     20: \ esi=sp, ebx=tos
1.1       anton      21: 
                     22: code my+ ( n1 n2 -- n )
1.3       pazsan     23:     4 si D) bx add
                     24:     4 # si add
                     25:     Next
1.1       anton      26: end-code
                     27: 
                     28: \ see my+
                     29: \ 3 5 my+ .

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