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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [a29khif/] [_sbrk.s] - Blame information for rev 1775

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
        .file "sbrk.c"
2
        .sect .lit,lit
3
gcc2_compiled.:
4
        .text
5
        .align 4
6
        .global __sbrk
7
        .word 0x30000
8
__sbrk:
9
        sub gr1,gr1,16
10
        asgeu V_SPILL,gr1,gr126
11
        add lr1,gr1,28
12
        sll lr2,lr6,0
13
        jmpt lr2,L4
14
        constn gr96,65535
15
        const gr116,__sysalloc
16
        consth gr116,__sysalloc
17
        calli lr0,gr116
18
        nop
19
        sll gr117,gr96,0
20
        cpneq gr116,gr117,0
21
        jmpf gr116,L4
22
        constn gr96,65535
23
        sll gr96,gr117,0
24
L4:
25
        add gr1,gr1,16
26
        nop
27
        jmpi lr0
28
        asleu V_FILL,lr1,gr127
29
 
30
 

powered by: WebSVN 2.1.0

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