OpenCores
URL https://opencores.org/ocsvn/yacc/yacc/trunk

Subversion Repositories yacc

[/] [yacc/] [trunk/] [bench/] [c_src/] [dhrystone/] [strcmp.s] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 tak.sugawa
         .set    noreorder
2
         .globl  strcmp
3
        .align  5
4
 strcmp:
5
         lbu     $8,0($4)
6
 3:
7
         lbu     $9,0($5)
8
         beq     $8,$0,1f
9
         lbu     $10,1($4)
10
         lbu     $11,1($5)
11
         bne     $8,$9,1f
12
         addi    $4,$4,2
13
         beq     $10,$0,2f
14
         addi    $5,$5,2
15
         beq     $10,$11,3b
16
         lbu     $8,0($4)
17
 2:
18
         j       $31
19
         subu    $2,$10,$11
20
 1:
21
         j       $31
22
        subu    $2,$8,$9

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.