Return to strchr.S CVS log | Up to [cvs.NetBSD.org] / src / common / lib / libc / arch / mips / string |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.3, 2011/01/02 02:58:52 | version 1.4, 2015/05/26 06:55:08 | ||
---|---|---|---|
|
|
||
LEAF(strchr) | LEAF(strchr) | ||
XLEAF(index) | XLEAF(index) | ||
and a1, 0xff # limit to byte value | |||
1: | 1: | ||
lbu a2, 0(a0) # get a byte | lbu a2, 0(a0) # get a byte | ||
PTR_ADDU a0, 1 | PTR_ADDU a0, 1 |