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/] [datal-3.s] - Blame information for rev 856

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

Line No. Rev Author Line
1 38 julius
! Check "datalabel" qualifier.
2
! This is the next most simple use; references symbols defined in this file.
3
! Code tests are for SHmedia mode.
4
 
5
        .mode SHmedia
6
        .text
7
start:
8
        movi datalabel foo,r3
9
        movi DataLabel foo2 + 42,r3
10
        movi ((datalabel foo3 + 46) >> 16) & 65535,r3
11
 
12
        .section .rodata
13
        .long datalabel foo4
14
myrodata1:
15
        .long DATALABEL foo5 + 56
16
myrodata2:
17
        .long datalabel $
18
        .global myrodata3
19
myrodata3:
20
        .long datalabel $+20
21
 
22
        .text
23
        movi datalabel foo7 + 42,r30
24
        movi datalabel foo8,r30
25
        movi ((datalabel foo9 + 64) >> 16) & 65535,r3
26
        movi datalabel myrodata1,r56
27
foo:
28
        movi DATALABEL myrodata2+30,r21
29
foo2:
30
        movi DataLabel foo,r10
31
foo3:
32
        movi datalabel $,r33
33
foo4:
34
        movi datalabel $+40,r8
35
foo5:
36
        movi datalabel myrodata3,r44
37
        .global foo6
38
foo6:
39
        movi datalabel foo6 + 42,r30
40
        .global foo7
41
foo7:
42
        nop
43
        .global foo8
44
foo8:
45
        nop
46
        .global foo9
47
foo9:
48
        nop

powered by: WebSVN 2.1.0

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