1 ;
-------------------------------------------------------------------------
2 ; memcmp.s
- standarc C library
4 ; Copyright
(C
) 2003, Ullrich von Bassewitz
5 ; Copyright
(C
) 2009, Christian Krueger
6 ; Copyright
(C
) 2023, Gabriele Gorla
8 ; This library is free software; you can redistribute it
and/or modify it
9 ; under the terms of the GNU General Public License as published by the
10 ; Free Software Foundation; either version
2, or (at your option
) any
13 ; This library is distributed in the hope that it will
be useful
,
14 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ; MERCHANTABILITY
or FITNESS FOR
A PARTICULAR PURPOSE. See the
16 ; GNU General Public License for more details.
18 ; You should have received
a copy of the GNU General Public License
19 ; along with this library; see the file COPYING. If
not, write to the
20 ; Free Software Foundation
, 51 Franklin Street
, Fifth Floor
, Boston
,
23 ; As
a special exception
, if you link this library with other files
,
24 ; some of which are compiled with SDCC
, to produce an executable
,
25 ; this library does
not by itself cause the resulting executable to
26 ;
be covered by the GNU General Public License. This exception does
27 ;
not however invalidate any other reasons why the executable file
28 ; might
be covered by the GNU General Public License.
29 ;
-------------------------------------------------------------------------
33 ;
--------------------------------------------------------
35 ;
--------------------------------------------------------
40 ;
--------------------------------------------------------
41 ; overlayable function parameters in zero page
42 ;
--------------------------------------------------------
49 ;
--------------------------------------------------------
51 ;
--------------------------------------------------------
53 .define s2 "_memcmp_PARM_2"
54 .define count "_memcmp_PARM_3"
56 ;
--------------------------------------------------------
58 ;
--------------------------------------------------------
61 ;
--------------------------------------------------------
62 ; int memcmp
(int
*s1
, int
*s2
, int count
)
63 ;
--------------------------------------------------------