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-1.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
! Check "datalabel" qualifier.
2
! This is the most simple use; references to local symbols where it is
3
! completely redundant.  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
        movi datalabel myrodata3 & 65535, r45
12
        movi datalabel myrodata4 & 65535, r45
13
        movi DATALABEL (myrodata2 + 50) & 65535, r45
14
 
15
        .section .rodata
16
        .long datalabel foo4
17
myrodata1:
18
        .long DATALABEL foo5 + 56
19
myrodata2:
20
        .long datalabel $
21
        .global myrodata3
22
myrodata3:
23
        .long datalabel $+20
24
myrodata4:
25
        .long datalabel myrodata1+0x100
26
 
27
        .data
28
        .long datalabel myrodata1
29
foo:
30
        .long DATALABEL myrodata2+30
31
foo2:
32
        .long DataLabel foo
33
foo3:
34
        .long datalabel $
35
foo4:
36
        .long datalabel $+40
37
foo5:
38
        .long datalabel myrodata3
39
        .global foo6
40
foo6:
41
        .long datalabel foo6 + 42

powered by: WebSVN 2.1.0

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