Linux Audio

Check our new training course

Loading...
 1; strcmp.S -- CRISv32 version.
 2; Copyright (C) 2008 AXIS Communications AB
 3; Written by Edgar E. Iglesias
 4;
 5; This source code is licensed under the GNU General Public License,
 6; Version 2.  See the file COPYING for more details.
 7
 8	.global	strcmp
 9	.type	strcmp,@function
10strcmp:
111:
12	move.b	[$r10+], $r12
13	seq	$r13
14	sub.b	[$r11+], $r12
15	or.b	$r12, $r13
16	beq	1b
17	nop
18
19	ret
20	movs.b	$r12, $r10
21	.size	strcmp, . - strcmp