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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [d30v/] [reloc.s] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
# D30V relocation test
2
 
3
        .text
4
start:
5
        add     r2, r0, hello
6
        add     r4, r0, bar
7
        add     r4, r0, bar2
8
        add     r4, r0, unk
9
        bra     cont
10
hello:  .ascii "Hello World\n"
11
        .align 3
12
cont:   jmp     cont2
13
        abs     r2,r3
14
cont2:
15
        bra     start   ||      nop
16
        bra.s   exit
17
        jmp     0        ||      nop
18
        bsrtnz.s        r1,cont
19
        bsrtnz  r1,cont
20
        bratnz.s        r1,cont
21
        bratnz  r1,cont
22
        jmptnz.s        r1,cont
23
        bsrtnz.s        r1, foo
24
        jmptnz.s        r1, unk
25
        bsrtnz.s        r1, unk
26
        jmptnz  r1, unk
27
        bsrtnz  r1, unk
28
        bra.s   foo
29
        bra     foo
30
        bra     start
31
        jmp     start
32
        jmp     start
33
        jmp.s   start
34
        jmp.s   foo
35
        bra     start
36
        bra     unknown
37
        jmp     unknown
38
        jmp.s   unknown
39
        bra.s   unknown
40
 
41
        .data
42
bar:    .asciz  "XYZZY"
43
bar2:   .long   0xdeadbeef
44
 
45
        .text
46
        .space 0xF00,0
47
 
48
foo:
49
        add     r1,r0,r0
50
        ld2w    r60, @(r0,longzero)
51
        add     r62,r0,r0
52
        bsr.s   exit
53
        bsr.s   foo
54
        bra.s   cont2
55
        bra.s   cont2
56
        bsr.s   exit
57
        jmp.s   exit
58
        jmp.s   exit
59
        jmp.s   exit
60
        bsr     exit
61
        jmp     exit
62
 
63
longzero:
64
        .quad   0
65
 
66
        .text
67
exit:
68
        jmp     r62

powered by: WebSVN 2.1.0

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