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

1.7     ! anton       1: \ Copyright (C) 2000,2003,2007 Free Software Foundation, Inc.
1.4       anton       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
1.6       anton       7: \ as published by the Free Software Foundation, either version 3
1.4       anton       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
1.6       anton      16: \ along with this program. If not, see http://www.gnu.org/licenses/.
1.4       anton      17: 
1.1       anton      18: \ this code works with the following register assignments:
1.3       pazsan     19: \ esi=sp, ebx=tos
1.1       anton      20: 
                     21: code my+ ( n1 n2 -- n )
1.3       pazsan     22:     4 si D) bx add
                     23:     4 # si add
                     24:     Next
1.1       anton      25: end-code
                     26: 
                     27: \ see my+
                     28: \ 3 5 my+ .

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