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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-h8300/] [gcsection.s] - Blame information for rev 825

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

Line No. Rev Author Line
1 38 julius
        .h8300h
2
        .section        .text.functionWeUse,"ax",@progbits
3
        .align 1
4
        .global _functionWeUse
5
_functionWeUse:
6
        mov.l   er6,@-er7
7
        mov.l   er7,er6
8
        subs    #4,er7
9
        mov.w   r0,@(-2,er6)
10
        mov.w   @(-2,er6),r2
11
        mov.w   r2,r0
12
        adds    #4,er7
13
        mov.l   @er7+,er6
14
        rts
15
        .size   _functionWeUse, .-_functionWeUse
16
        .section        .text.functionWeDontUse,"ax",@progbits
17
        .align 1
18
        .global _functionWeDontUse
19
_functionWeDontUse:
20
        mov.l   er6,@-er7
21
        mov.l   er7,er6
22
        subs    #4,er7
23
        mov.w   r0,@(-2,er6)
24
        mov.w   @(-2,er6),r2
25
        mov.w   r2,r0
26
        adds    #4,er7
27
        mov.l   @er7+,er6
28
        rts
29
        .size   _functionWeDontUse, .-_functionWeDontUse
30
        .section        .text.start,"ax",@progbits
31
        .align 1
32
        .global _start
33
_start:
34
        mov.l   er6,@-er7
35
        mov.l   er7,er6
36
        mov.w   #75,r0
37
        jsr     @_functionWeUse
38
        mov.w   r0,r2
39
        mov.w   r2,r0
40
        mov.l   @er7+,er6
41
        rts
42
        .size   _start, .-_start
43
        .end

powered by: WebSVN 2.1.0

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