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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mips/] [lb-pic.s] - Blame information for rev 832

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

Line No. Rev Author Line
1 38 julius
# Source file used to test the lb macro with PIC code.
2
 
3
        .data
4
data_label:
5
        .extern big_external_data_label,1000
6
        .extern small_external_data_label,1
7
        .comm big_external_common,1000
8
        .comm small_external_common,1
9
        .lcomm big_local_common,1000
10
        .lcomm small_local_common,1
11
 
12
        .text
13
        lb      $4,0
14
        lb      $4,1
15
        lb      $4,0x8000
16
        lb      $4,-0x8000
17
        lb      $4,0x10000
18
        lb      $4,0x1a5a5
19
        lb      $4,0($5)
20
        lb      $4,1($5)
21
        lb      $4,0x8000($5)
22
        lb      $4,-0x8000($5)
23
        lb      $4,0x10000($5)
24
        lb      $4,0x1a5a5($5)
25
        lb      $4,data_label
26
        lb      $4,big_external_data_label
27
        lb      $4,small_external_data_label
28
        lb      $4,big_external_common
29
        lb      $4,small_external_common
30
        lb      $4,big_local_common
31
        lb      $4,small_local_common
32
        lb      $4,data_label+1
33
        lb      $4,big_external_data_label+1
34
        lb      $4,small_external_data_label+1
35
        lb      $4,big_external_common+1
36
        lb      $4,small_external_common+1
37
        lb      $4,big_local_common+1
38
        lb      $4,small_local_common+1
39
        lb      $4,data_label($5)
40
        lb      $4,big_external_data_label($5)
41
        lb      $4,small_external_data_label($5)
42
        lb      $4,big_external_common($5)
43
        lb      $4,small_external_common($5)
44
        lb      $4,big_local_common($5)
45
        lb      $4,small_local_common($5)
46
        lb      $4,data_label+1($5)
47
        lb      $4,big_external_data_label+1($5)
48
        lb      $4,small_external_data_label+1($5)
49
        lb      $4,big_external_common+1($5)
50
        lb      $4,small_external_common+1($5)
51
        lb      $4,big_local_common+1($5)
52
        lb      $4,small_local_common+1($5)
53
 
54
# Round to a 16 byte boundary, for ease in testing multiple targets.
55
        nop

powered by: WebSVN 2.1.0

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