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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [xstormy16/] [reloc-2.s] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
        .text
2
; check that forward references work for all operands.
3
        inc r0,#fwd1
4
        set1 0,#fwd1
5
        bn 0,#fwd1,.
6
        add r0,#fwd1
7
        mov r0,(r0,fwd1)
8
        mov fwd1,#0
9
        mov rx,#fwd1
10
        mov 0,#fwd1
11
        jmpf fwd1
12
        bge fwd1+.
13
        bge Rx,#0,fwd1+.
14
        bge r0,r0,fwd1+.
15
        br fwd1+.
16
fwd1    = 1
17
 
18
; check that global references work for those operands that support them
19
        .globl global
20
 
21
        mov global,#0
22
        mov rx,#global
23
        mov 0,#global
24
;       jmpf global
25
        bge global
26
        bge Rx,#0,global
27
        bge r0,r0,global
28
        br global
29
 
30
; check branch operations to local labels
31
        bge .L1
32
        bge Rx,#0,.L1
33
        bge r0,r0,.L1
34
        br .L1
35
.L1:
36
        bge .L1
37
        bge Rx,#0,.L1
38
        bge r0,r0,.L1
39
        br .L1
40
 
41
; check immediate operands thoroughly
42
        mov 0,#global+4
43
        mov 0,#.L1
44
        mov 0,#.L1+4
45
        mov 0,#global-.
46
        mov 0,#global-.L1
47
 
48
        jmpf global

powered by: WebSVN 2.1.0

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