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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [binutils/] [tests-1/] [H16/] [test1.s] - Blame information for rev 196

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

Line No. Rev Author Line
1 7 hellwig
        .nosyn
2
 
3
        .export C_global
4
        .import C_extern
5
        .export D_global
6
        .import D_extern
7
        .export B_global
8
        .import B_extern
9
 
10
        .code
11
 
12
        add     $3,$2,$1
13
        add     $3,$2,$1
14
        ldhi    $3,C_local+10
15
        ldhi    $3,C_global+20
16
        ldhi    $3,C_extern+30
17
        ldhi    $3,D_local+40
18
        ldhi    $3,D_global+50
19
        ldhi    $3,D_extern+60
20
        ldhi    $3,B_local+70
21
        ldhi    $3,B_global+80
22
        ldhi    $3,B_extern+90
23
        add     $3,$2,$1
24
        add     $3,$2,$1
25
C_local:
26
        add     $3,$2,$1
27
C_global:
28
        add     $3,$2,$1
29
 
30
        .data
31
 
32
        .word   0x55AA55AA
33
        .word   0x55AA55AA
34
        ldhi    $3,C_local+10
35
        ldhi    $3,C_global+20
36
        ldhi    $3,C_extern+30
37
        ldhi    $3,D_local+40
38
        ldhi    $3,D_global+50
39
        ldhi    $3,D_extern+60
40
        ldhi    $3,B_local+70
41
        ldhi    $3,B_global+80
42
        ldhi    $3,B_extern+90
43
        .word   0x55AA55AA
44
        .word   0x55AA55AA
45
D_local:
46
        .word   0x55AA55AA
47
D_global:
48
        .word   0x55AA55AA
49
 
50
        .bss
51
 
52
        .space  0x100
53
B_local:
54
        .space  0x100
55
B_global:
56
        .space  0x100

powered by: WebSVN 2.1.0

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