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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [sim/] [rtl_sim/] [src/] [two-op_mov.s43] - Blame information for rev 134

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

Line No. Rev Author Line
1 2 olivier.gi
/*===========================================================================*/
2
/* Copyright (C) 2001 Authors                                                */
3
/*                                                                           */
4
/* This source file may be used and distributed without restriction provided */
5
/* that this copyright statement is not removed from the file and that any   */
6
/* derivative work contains the original copyright notice and the associated */
7
/* disclaimer.                                                               */
8
/*                                                                           */
9
/* This source file is free software; you can redistribute it and/or modify  */
10
/* it under the terms of the GNU Lesser General Public License as published  */
11
/* by the Free Software Foundation; either version 2.1 of the License, or    */
12
/* (at your option) any later version.                                       */
13
/*                                                                           */
14
/* This source is distributed in the hope that it will be useful, but WITHOUT*/
15
/* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or     */
16
/* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public       */
17
/* License for more details.                                                 */
18
/*                                                                           */
19
/* You should have received a copy of the GNU Lesser General Public License  */
20
/* along with this source; if not, write to the Free Software Foundation,    */
21
/* Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA        */
22
/*                                                                           */
23
/*===========================================================================*/
24
/*                   TWO-OPERAND ARITHMETIC: MOV INSTRUCTION                 */
25
/*---------------------------------------------------------------------------*/
26
/* Test the MOV instruction with all addressing modes                        */
27 18 olivier.gi
/*                                                                           */
28
/* Author(s):                                                                */
29
/*             - Olivier Girard,    olgirard@gmail.com                       */
30
/*                                                                           */
31
/*---------------------------------------------------------------------------*/
32 19 olivier.gi
/* $Rev: 134 $                                                                */
33
/* $LastChangedBy: olivier.girard $                                          */
34
/* $LastChangedDate: 2012-03-22 21:31:06 +0100 (Thu, 22 Mar 2012) $          */
35 2 olivier.gi
/*===========================================================================*/
36
 
37 111 olivier.gi
.set    DMEM_BASE, (__data_start     )
38
.set    DMEM_200,  (__data_start+0x00)
39
.set    DMEM_202,  (__data_start+0x02)
40
.set    DMEM_204,  (__data_start+0x04)
41
.set    DMEM_206,  (__data_start+0x06)
42
.set    DMEM_208,  (__data_start+0x08)
43
.set    DMEM_20A,  (__data_start+0x0A)
44
.set    DMEM_20C,  (__data_start+0x0C)
45
.set    DMEM_20E,  (__data_start+0x0E)
46
.set    DMEM_210,  (__data_start+0x10)
47
.set    DMEM_212,  (__data_start+0x12)
48
.set    DMEM_214,  (__data_start+0x14)
49
.set    DMEM_216,  (__data_start+0x16)
50
.set    DMEM_218,  (__data_start+0x18)
51
.set    DMEM_21A,  (__data_start+0x1A)
52
.set    DMEM_21C,  (__data_start+0x1C)
53
.set    DMEM_21E,  (__data_start+0x1E)
54
.set    DMEM_220,  (__data_start+0x20)
55
.set    DMEM_222,  (__data_start+0x22)
56
.set    DMEM_224,  (__data_start+0x24)
57
.set    DMEM_226,  (__data_start+0x26)
58
.set    DMEM_228,  (__data_start+0x28)
59
.set    DMEM_22A,  (__data_start+0x2A)
60
.set    DMEM_22C,  (__data_start+0x2C)
61
.set    DMEM_22E,  (__data_start+0x2E)
62
.set    DMEM_230,  (__data_start+0x30)
63
.set    DMEM_232,  (__data_start+0x32)
64
.set    DMEM_234,  (__data_start+0x34)
65
.set    DMEM_236,  (__data_start+0x36)
66
.set    DMEM_238,  (__data_start+0x38)
67
.set    DMEM_23A,  (__data_start+0x3A)
68
.set    DMEM_23C,  (__data_start+0x3C)
69
.set    DMEM_23E,  (__data_start+0x3E)
70
.set    DMEM_240,  (__data_start+0x40)
71
.set    DMEM_250,  (__data_start+0x50)
72
.set    DMEM_252,  (__data_start+0x52)
73
.set    DMEM_254,  (__data_start+0x54)
74
.set    DMEM_256,  (__data_start+0x56)
75
.set    DMEM_258,  (__data_start+0x58)
76
.set    DMEM_25A,  (__data_start+0x5A)
77
.set    DMEM_25C,  (__data_start+0x5C)
78
.set    DMEM_25D,  (__data_start+0x5D)
79
.set    DMEM_25E,  (__data_start+0x5E)
80
.set    DMEM_25F,  (__data_start+0x5F)
81
.set    DMEM_260,  (__data_start+0x60)
82
.set    DMEM_261,  (__data_start+0x61)
83
.set    DMEM_262,  (__data_start+0x62)
84
.set    DMEM_263,  (__data_start+0x63)
85
.set    DMEM_264,  (__data_start+0x64)
86
.set    DMEM_265,  (__data_start+0x65)
87
.set    DMEM_266,  (__data_start+0x66)
88
.set    DMEM_267,  (__data_start+0x67)
89
 
90 2 olivier.gi
.global main
91
 
92
main:
93
        /* ---------------------- INITIALIZE REGISTERS --------------------- */
94 134 olivier.gi
        mov     #0x2202, r2
95 2 olivier.gi
        mov     #0x3333, r3
96
        mov     #0x4444, r4
97
        mov     #0x5555, r5
98
        mov     #0x6666, r6
99
        mov     #0x7777, r7
100
        mov     #0x8888, r8
101
        mov     #0x9999, r9
102
        mov     #0xaaaa, r10
103
        mov     #0xbbbb, r11
104
        mov     #0xcccc, r12
105
        mov     #0xdddd, r13
106
        mov     #0xeeee, r14
107
 
108
        mov     #0x1000, r15
109
 
110
 
111
        /* ---------------------- TEST WHEN SOURCE IS Rn ------------------- */
112 111 olivier.gi
.set   Rn_EDE,  DMEM_200
113
.set   Rn_TONY, DMEM_204
114 2 olivier.gi
 
115
        mov          r4, r3        ;# Overwrite r3 with 0x4444
116
        mov #test_Rn_PC, r4
117
        br           r4
118
        nop
119
        nop
120
        nop
121
        nop
122
        mov     #0x0000, r4        ;# Make sure the jump is taken
123
test_Rn_PC:
124 111 olivier.gi
        mov   #DMEM_200, r5
125 2 olivier.gi
        mov     #0x1234, r6
126
        mov          r6, 16(r5)    ;# Write 0x1234 to memory @0x0210
127
        mov     #0x5678, r7
128
        mov          r7, Rn_EDE    ;# Write 0x5678 to memory @0x0200
129
        mov     #0x9abc, r8
130
        mov          r8, &Rn_TONY  ;# Write 0x9abc to memory @0x0204
131
 
132
        mov     #0x2000, r15
133
 
134
 
135
        /* ---------------------- TEST WHEN SOURCE IS @Rn ------------------ */
136 111 olivier.gi
.set   aRn_EDE,  DMEM_200
137
.set   aRn_TONY, DMEM_204
138 2 olivier.gi
 
139 111 olivier.gi
        mov     #DMEM_210, r4
140 2 olivier.gi
        mov      #0x3333, r3
141
        mov          @r4, r3        ;# r3 takes @0x0210 value: 0x1234
142
        mov #test_aRn_PC, r4
143 111 olivier.gi
        mov           r4, &DMEM_200
144
        mov    #DMEM_200, r4
145 2 olivier.gi
        br           @r4
146
        nop
147
        nop
148
        nop
149
        mov      #0x0000, r4        ;# Make sure the jump is taken
150
test_aRn_PC:
151 111 olivier.gi
        mov    #DMEM_200, r5
152
        mov    #DMEM_204, r6
153 2 olivier.gi
        mov          @r6, 16(r5)    ;# Move memory @0x204 (0x9abc) to memory @0x210
154 111 olivier.gi
        mov      #0xfedc, &DMEM_202
155
        mov    #DMEM_202, r6
156 2 olivier.gi
        mov          @r6, aRn_EDE   ;# Move memory @0x202 (0xfedc) to memory @0x200
157 111 olivier.gi
        mov      #0xf1d2, &DMEM_202
158
        mov    #DMEM_202, r6
159 2 olivier.gi
        mov          @r6, &aRn_TONY ;# Move memory @0x202 (0xf1d2) to memory @0x204
160
 
161
        mov      #0x3000, r15
162
 
163
 
164
        /* ---------------------- TEST WHEN SOURCE IS @Rn+ ----------------- */
165 111 olivier.gi
.set   aRni_EDE,  DMEM_200
166
.set   aRni_TONY, DMEM_214
167 2 olivier.gi
 
168 111 olivier.gi
        mov      #0x1111, &DMEM_200
169
        mov    #DMEM_200, r4
170 2 olivier.gi
        mov         @r4+, r5         ;# Write @0x200 (0x1111) to R5
171
 
172 111 olivier.gi
        mov #test_aRni_PC, &DMEM_204
173
        mov     #DMEM_204, r6
174
        br           @r6+
175 2 olivier.gi
        nop
176
        nop
177
        nop
178
        nop
179
        mov      #0x0000, r6         ;# Make sure the jump is taken
180
test_aRni_PC:
181 111 olivier.gi
        mov      #0x1234, &DMEM_210
182
        mov      #0x5678, &DMEM_212
183
        mov      #0x9abc, &DMEM_214
184
        mov      #0xdef0, &DMEM_216
185 2 olivier.gi
 
186 111 olivier.gi
        mov    #DMEM_210, r8
187
        mov    #DMEM_216, r7
188 2 olivier.gi
        mov         @r7+, 16(r8)     ;# Move memory @0x216 (0xdef0) to memory @0x220
189
 
190 111 olivier.gi
        mov    #DMEM_212, r8
191 2 olivier.gi
        mov         @r8+, aRni_EDE   ;# Move memory @0x212 (0x5678) to memory @0x200
192
 
193 111 olivier.gi
        mov    #DMEM_210, r9
194 2 olivier.gi
        mov         @r9+, &aRni_TONY ;# Move memory @0x210 (0x1234) to memory @0x214
195
 
196
        mov      #0x4000, r15
197
 
198
 
199
 
200
        /* ---------------------- TEST WHEN SOURCE IS #N ------------------- */
201 111 olivier.gi
.set   N_EDE,  DMEM_210
202
.set   N_TONY, DMEM_206
203 2 olivier.gi
 
204
        mov      #0x3210, r4         ;# Write 0x3210 to R4
205
        mov      #0xfcde, r5
206
        br       #test_N_PC
207
        nop
208
        nop
209
        nop
210
        nop
211
        mov      #0x0000, r5         ;# Make sure the jump is taken
212
test_N_PC:
213 111 olivier.gi
        mov    #DMEM_200, r6
214 2 olivier.gi
        mov      #0x5a5a, 48(r6)     ;# Move memory 0x5a5a to memory @0x230
215
        mov      #0x1a2b, N_EDE      ;# Move memory 0x1a2b to memory @0x210
216
        mov      #0x3c4d, &N_TONY    ;# Move memory 0x3c4d to memory @0x206
217
 
218
        mov      #0x5000, r15
219
 
220
 
221
 
222
        /* ---------------------- TEST WHEN SOURCE IS x(Rn) ---------------- */
223 111 olivier.gi
.set   xRn_EDE,  DMEM_220
224
.set   xRn_TONY, DMEM_208
225 2 olivier.gi
 
226 111 olivier.gi
        mov      #0x8347, &DMEM_210
227
        mov      #0x1234, &DMEM_200
228
        mov    #DMEM_200, r4
229 2 olivier.gi
        mov       16(r4), r5         ;# Write 0x8347 to R5
230
 
231 111 olivier.gi
        mov #test_xRn_PC, &DMEM_208
232
        mov      #0x1234, &DMEM_200
233 2 olivier.gi
        mov      #0x2345, r6
234 111 olivier.gi
        mov    #DMEM_200, r4
235 2 olivier.gi
        br       8(r4)
236
        nop
237
        nop
238
        nop
239
        nop
240
        mov      #0x0000, r6         ;# Make sure the jump is taken
241
test_xRn_PC:
242 111 olivier.gi
        mov      #0x4231, &DMEM_210
243
        mov      #0x1234, &DMEM_200
244
        mov    #DMEM_200, r7
245
        mov    #DMEM_202, r8
246
        mov       16(r7), 18(r8)      ;# Move memory @0x210 (0x4231) to memory @0x214
247
        mov      #0x7238, &DMEM_204
248
        mov      #0x1234, &DMEM_200
249
        mov    #DMEM_200, r7
250
        mov        4(r7), xRn_EDE      ;# Move memory @0x204 (0x7238) to memory @0x220
251
        mov      #0x98b2, &DMEM_216
252
        mov      #0x1234, &DMEM_200
253
        mov    #DMEM_200, r7
254
        mov       22(r4), &xRn_TONY   ;# Move memory @0x216 (0x98b2) to memory @0x208
255 2 olivier.gi
 
256
        mov      #0x6000, r15
257
 
258
 
259
 
260
        /* ---------------------- TEST WHEN SOURCE IS 'EDE' ---------------- */
261 111 olivier.gi
.set   EDE_EDE,  DMEM_216
262
.set   EDE_TONY, DMEM_212
263 2 olivier.gi
 
264 111 olivier.gi
.set   EDE_200,  DMEM_200
265
.set   EDE_202,  DMEM_202
266
.set   EDE_204,  DMEM_204
267
.set   EDE_206,  DMEM_206
268
.set   EDE_208,  DMEM_208
269 2 olivier.gi
 
270 111 olivier.gi
        mov      #0xc3d6, &DMEM_200
271
        mov      #0x1234, &DMEM_202
272 2 olivier.gi
        mov      #0x4321, r4
273
        mov      EDE_200, r4          ;# Write 0xc3d6 to R4
274
 
275 111 olivier.gi
        mov #test_EDE_PC, &DMEM_202
276
        mov      #0x1234, &DMEM_204
277 2 olivier.gi
        mov      #0x3456, r6
278
        br       EDE_202
279
        nop
280
        nop
281
        nop
282
        nop
283
        mov      #0x0000, r6          ;# Make sure the jump is taken
284
test_EDE_PC:
285
 
286 111 olivier.gi
        mov    #DMEM_202, r8
287
        mov      #0xf712, &DMEM_204
288
        mov      #0x1234, &DMEM_206
289 2 olivier.gi
        mov      EDE_204, 18(r8)      ;# Move memory @0x204 (0xf712) to memory @0x214
290
 
291 111 olivier.gi
        mov      #0xb3a9, &DMEM_206
292
        mov      #0x1234, &DMEM_208
293 2 olivier.gi
        mov      EDE_206, EDE_EDE     ;# Move memory @0x206 (0xb3a9) to memory @0x216
294
 
295 111 olivier.gi
        mov      #0x837A, &DMEM_208
296
        mov      #0x1234, &DMEM_20A
297 2 olivier.gi
        mov      EDE_208, &EDE_TONY   ;# Move memory @0x208 (0x837A) to memory @0x212
298
 
299
        mov      #0x7000, r15
300
 
301
 
302
 
303
        /* ---------------------- TEST WHEN SOURCE IS '&EDE' --------------- */
304 111 olivier.gi
.set   aEDE_EDE,  DMEM_218
305
.set   aEDE_TONY, DMEM_202
306 2 olivier.gi
 
307 111 olivier.gi
        mov      #0x23d4, &DMEM_200
308
        mov      #0x1234, &DMEM_202
309 2 olivier.gi
        mov      #0x4321, r4
310 111 olivier.gi
        mov    &DMEM_200, r4          ;# Write 0x23d4 to R4
311 2 olivier.gi
 
312 111 olivier.gi
        mov #test_aEDE_PC, &DMEM_202
313
        mov      #0x1234,  &DMEM_204
314 2 olivier.gi
        mov      #0xfb58,  r6
315 111 olivier.gi
        br     &DMEM_202
316 2 olivier.gi
        nop
317
        nop
318
        nop
319
        nop
320
        mov      #0x0000, r6          ;# Make sure the jump is taken
321
test_aEDE_PC:
322
 
323 111 olivier.gi
        mov    #DMEM_202, r7
324
        mov      #0x481c, &DMEM_204
325
        mov      #0x1234, &DMEM_206
326
        mov    &DMEM_204, 18(r7)      ;# Move memory @0x204 (0x481c) to memory @0x214
327 2 olivier.gi
 
328 111 olivier.gi
        mov      #0x5c1f, &DMEM_206
329
        mov      #0x1234, &DMEM_208
330
        mov    &DMEM_206, aEDE_EDE    ;# Move memory @0x206 (0x5c1f) to memory @0x218
331 2 olivier.gi
 
332 111 olivier.gi
        mov      #0xc16e, &DMEM_208
333
        mov      #0x1234, &DMEM_20A
334
        mov    &DMEM_208, &aEDE_TONY  ;# Move memory @0x208 (0xc16e) to memory @0x202
335 2 olivier.gi
 
336
        mov      #0x8000, r15
337
 
338
 
339
 
340
        /* ---------------------- TEST WHEN SOURCE IS CONSTANT ------------- */
341 111 olivier.gi
.set   CONST_EDE0,   DMEM_220
342
.set   CONST_EDE1,   DMEM_222
343
.set   CONST_EDE2,   DMEM_224
344
.set   CONST_EDE4,   DMEM_226
345
.set   CONST_EDE8,   DMEM_228
346
.set   CONST_EDEm1,  DMEM_22A
347 2 olivier.gi
 
348 111 olivier.gi
.set   CONST_TONY0,  DMEM_230
349
.set   CONST_TONY1,  DMEM_232
350
.set   CONST_TONY2,  DMEM_234
351
.set   CONST_TONY4,  DMEM_236
352
.set   CONST_TONY8,  DMEM_238
353
.set   CONST_TONYm1, DMEM_23A
354 2 olivier.gi
 
355
 
356
        mov      #0x4444, r4              ;# Initialize registers
357
        mov      #0x5555, r5
358
        mov      #0x6666, r6
359
        mov      #0x7777, r7
360
        mov      #0x8888, r8
361
        mov      #0x9999, r9
362
 
363
        mov      #0x0000, r4              ;# Write +0 to R4
364
        mov      #0x0001, r5              ;# Write +1 to R5
365
        mov      #0x0002, r6              ;# Write +2 to R6
366
        mov      #0x0004, r7              ;# Write +4 to R7
367
        mov      #0x0008, r8              ;# Write +8 to R8
368
        mov      #0xffff, r9              ;# Write -1 to R9
369
 
370 111 olivier.gi
        mov    #DMEM_202, r10
371 2 olivier.gi
        mov      #0x1234, r11
372
        mov      #0x0000, 14(r10)         ;# Move +0 to memory @0x210
373
        mov      #0x0001, 16(r10)         ;# Move +1 to memory @0x212
374
        mov      #0x0002, 18(r10)         ;# Move +2 to memory @0x214
375
        mov      #0x0004, 20(r10)         ;# Move +4 to memory @0x216
376
        mov      #0x0008, 22(r10)         ;# Move +8 to memory @0x218
377
        mov      #0xffff, 24(r10)         ;# Move -1 to memory @0x21A
378
 
379
        mov      #0x0000, CONST_EDE0      ;# Move +0 to memory @0x220
380
        mov      #0x0001, CONST_EDE1      ;# Move +1 to memory @0x222
381
        mov      #0x0002, CONST_EDE2      ;# Move +2 to memory @0x224
382
        mov      #0x0004, CONST_EDE4      ;# Move +4 to memory @0x226
383
        mov      #0x0008, CONST_EDE8      ;# Move +8 to memory @0x228
384
        mov      #0xffff, CONST_EDEm1     ;# Move -1 to memory @0x22A
385
 
386
        mov      #0x0000, &CONST_TONY0    ;# Move +0 to memory @0x230
387
        mov      #0x0001, &CONST_TONY1    ;# Move +1 to memory @0x232
388
        mov      #0x0002, &CONST_TONY2    ;# Move +2 to memory @0x234
389
        mov      #0x0004, &CONST_TONY4    ;# Move +4 to memory @0x236
390
        mov      #0x0008, &CONST_TONY8    ;# Move +8 to memory @0x238
391
        mov      #0xffff, &CONST_TONYm1   ;# Move -1 to memory @0x23A
392
 
393
        mov      #0x9000, r15
394
 
395
 
396
        /* ---------------- TEST WHEN SOURCE IS CONSTANT IN BYTE MODE ------ */
397
        #
398
        # NOTE: The following section would not fit in the smallest ROM
399
        #       configuration for the "two-op_mov-b.s43" pattern.
400
        #       It is therefore executed here.
401
        #
402 111 olivier.gi
.set   CONSTL_TONY0,  DMEM_250
403
.set   CONSTL_TONY1,  DMEM_252
404
.set   CONSTL_TONY2,  DMEM_254
405
.set   CONSTL_TONY4,  DMEM_256
406
.set   CONSTL_TONY8,  DMEM_258
407
.set   CONSTL_TONYm1, DMEM_25A
408
.set   CONSTH_TONY0,  DMEM_25D
409
.set   CONSTH_TONY1,  DMEM_25F
410
.set   CONSTH_TONY2,  DMEM_261
411
.set   CONSTH_TONY4,  DMEM_263
412
.set   CONSTH_TONY8,  DMEM_265
413
.set   CONSTH_TONYm1, DMEM_267
414 2 olivier.gi
 
415 111 olivier.gi
        mov      #0x4444, &DMEM_250        ;# Initialize Memory
416
        mov      #0x5555, &DMEM_252
417
        mov      #0x6666, &DMEM_254
418
        mov      #0x7777, &DMEM_256
419
        mov      #0x3535, &DMEM_258
420
        mov      #0x9999, &DMEM_25A
421
        mov      #0xaaaa, &DMEM_25C
422
        mov      #0xbbbb, &DMEM_25E
423
        mov      #0xcccc, &DMEM_260
424
        mov      #0xdddd, &DMEM_262
425
        mov      #0xeeee, &DMEM_264
426
        mov      #0x3333, &DMEM_266
427 2 olivier.gi
 
428
        mov.b    #0x0000, &CONSTL_TONY0    ;# Move +0 to memory @0x250
429
        mov.b    #0x0001, &CONSTL_TONY1    ;# Move +1 to memory @0x252
430
        mov.b    #0x0002, &CONSTL_TONY2    ;# Move +2 to memory @0x254
431
        mov.b    #0x0004, &CONSTL_TONY4    ;# Move +4 to memory @0x256
432
        mov.b    #0x0008, &CONSTL_TONY8    ;# Move +8 to memory @0x258
433
        mov.b    #0xffff, &CONSTL_TONYm1   ;# Move -1 to memory @0x25A
434
        mov.b    #0x0000, &CONSTH_TONY0    ;# Move +0 to memory @0x25D
435
        mov.b    #0x0001, &CONSTH_TONY1    ;# Move +1 to memory @0x25F
436
        mov.b    #0x0002, &CONSTH_TONY2    ;# Move +2 to memory @0x261
437
        mov.b    #0x0004, &CONSTH_TONY4    ;# Move +4 to memory @0x263
438
        mov.b    #0x0008, &CONSTH_TONY8    ;# Move +8 to memory @0x265
439
        mov.b    #0xffff, &CONSTH_TONYm1   ;# Move -1 to memory @0x267
440
 
441
 
442
        mov      #0xA000, r15
443
 
444
        /* ----------------------         END OF TEST        --------------- */
445
end_of_test:
446
        nop
447
        br #0xffff
448
 
449
 
450
        /* ----------------------         INTERRUPT VECTORS  --------------- */
451
 
452
.section .vectors, "a"
453
.word end_of_test  ; Interrupt  0 (lowest priority)    
454
.word end_of_test  ; Interrupt  1                      
455
.word end_of_test  ; Interrupt  2                      
456
.word end_of_test  ; Interrupt  3                      
457
.word end_of_test  ; Interrupt  4                      
458
.word end_of_test  ; Interrupt  5                      
459
.word end_of_test  ; Interrupt  6                      
460
.word end_of_test  ; Interrupt  7                      
461
.word end_of_test  ; Interrupt  8                      
462
.word end_of_test  ; Interrupt  9                      
463
.word end_of_test  ; Interrupt 10                      Watchdog timer
464
.word end_of_test  ; Interrupt 11                      
465
.word end_of_test  ; Interrupt 12                      
466
.word end_of_test  ; Interrupt 13                      
467
.word end_of_test  ; Interrupt 14                      NMI
468
.word main         ; Interrupt 15 (highest priority)   RESET

powered by: WebSVN 2.1.0

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