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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [rel-5.s] - Blame information for rev 38

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

Line No. Rev Author Line
1 38 julius
! Test MOVI pc-relative expansion within text section.
2
 
3
        .text
4
        .mode SHmedia
5
start:
6
        nop
7
        movi start2+8 - datalabel $,r30
8
        movi start3+4 - $,r30
9
        movi datalabel start4 + 8 - datalabel $,r30
10
        movi datalabel start5 + 12 - $,r30
11
        movi (datalabel start6 + 24 - datalabel $) & 65535,r40
12
        movi ((datalabel start7 + 32 - datalabel $) >> 16) & 65535,r50
13
        movi gstart2+8 - datalabel $,r30
14
        movi gstart3+4 - $,r30
15
        movi datalabel gstart4 + 8 - datalabel $,r30
16
        movi datalabel gstart5 + 12 - $,r30
17
        movi (datalabel gstart6 + 24 - datalabel $) & 65535,r40
18
        movi ((datalabel gstart7 + 32 - datalabel $) >> 16) & 65535,r50
19
start2:
20
        nop
21
start3:
22
        nop
23
start4:
24
        nop
25
start5:
26
        nop
27
start6:
28
        nop
29
start7:
30
        nop
31
        .global gstart2
32
gstart2:
33
        nop
34
        .global gstart3
35
gstart3:
36
        nop
37
        .global gstart4
38
gstart4:
39
        nop
40
        .global gstart5
41
gstart5:
42
        nop
43
        .global gstart6
44
gstart6:
45
        nop
46
        .global gstart7
47
gstart7:
48
        nop

powered by: WebSVN 2.1.0

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