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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [fpga/] [tests/] [test_054/] [hellodsp/] [hellodsp.s] - Blame information for rev 296

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

Line No. Rev Author Line
1 295 hellwig
;
2
; output to display
3
;
4
 
5
        .set    dspbase,0xF0100000
6
 
7
        .nosyn
8
 
9
reset:
10
        j       start
11
 
12
interrupt:
13
        j       interrupt
14
 
15
userMiss:
16
        j       userMiss
17
 
18
start:
19
        ldhi    $8,data
20
 
21
        add     $0,$0,$0
22
        add     $0,$0,$0
23
        add     $0,$0,$0
24
        add     $0,$0,$0
25
        add     $0,$0,$0
26
        add     $0,$0,$0
27
 
28
        or      $8,$8,data
29
 
30
        add     $0,$0,$0
31
        add     $0,$0,$0
32
        add     $0,$0,$0
33
        add     $0,$0,$0
34
        add     $0,$0,$0
35
        add     $0,$0,$0
36
 
37
        ldhi    $9,dspbase
38
 
39
        add     $0,$0,$0
40
        add     $0,$0,$0
41
        add     $0,$0,$0
42
        add     $0,$0,$0
43
        add     $0,$0,$0
44
        add     $0,$0,$0
45
 
46
next:
47
        ldbu    $10,$8,0
48
 
49
        add     $0,$0,$0
50
        add     $0,$0,$0
51
        add     $0,$0,$0
52
        add     $0,$0,$0
53
        add     $0,$0,$0
54
        add     $0,$0,$0
55
 
56
        beq     $10,$0,stop
57
 
58
        add     $0,$0,$0
59
        add     $0,$0,$0
60
        add     $0,$0,$0
61
        add     $0,$0,$0
62
        add     $0,$0,$0
63
        add     $0,$0,$0
64
 
65
        add     $11,$0,0x94
66
 
67
        add     $0,$0,$0
68
        add     $0,$0,$0
69
        add     $0,$0,$0
70
        add     $0,$0,$0
71
        add     $0,$0,$0
72
        add     $0,$0,$0
73
 
74
        sll     $11,$11,8
75
 
76
        add     $0,$0,$0
77
        add     $0,$0,$0
78
        add     $0,$0,$0
79
        add     $0,$0,$0
80
        add     $0,$0,$0
81
        add     $0,$0,$0
82
 
83
        or      $10,$10,$11
84
 
85
        add     $0,$0,$0
86
        add     $0,$0,$0
87
        add     $0,$0,$0
88
        add     $0,$0,$0
89
        add     $0,$0,$0
90
        add     $0,$0,$0
91
 
92
        stw     $10,$9,(14*128+32)*4
93
 
94
        add     $0,$0,$0
95
        add     $0,$0,$0
96
        add     $0,$0,$0
97
        add     $0,$0,$0
98
        add     $0,$0,$0
99
        add     $0,$0,$0
100
 
101
        add     $8,$8,1
102
 
103
        add     $0,$0,$0
104
        add     $0,$0,$0
105
        add     $0,$0,$0
106
        add     $0,$0,$0
107
        add     $0,$0,$0
108
        add     $0,$0,$0
109
 
110
        add     $9,$9,4
111
 
112
        add     $0,$0,$0
113
        add     $0,$0,$0
114
        add     $0,$0,$0
115
        add     $0,$0,$0
116
        add     $0,$0,$0
117
        add     $0,$0,$0
118
 
119
        j       next
120
 
121
        add     $0,$0,$0
122
        add     $0,$0,$0
123
        add     $0,$0,$0
124
        add     $0,$0,$0
125
        add     $0,$0,$0
126
        add     $0,$0,$0
127
 
128
stop:
129
        j       stop
130
 
131
        add     $0,$0,$0
132
        add     $0,$0,$0
133
        add     $0,$0,$0
134
        add     $0,$0,$0
135
        add     $0,$0,$0
136
        add     $0,$0,$0
137
 
138
data:
139
        .byte   " Hello, world! ",0

powered by: WebSVN 2.1.0

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