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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mp3/] [sw/] [syscall/] [syscall.S] - Blame information for rev 1773

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

Line No. Rev Author Line
1 505 lampret
#include "../support/spr_defs.h"
2 329 lampret
 
3 505 lampret
.global _main
4
.global _buserr_except
5
.global _dpf_except
6
.global _ipf_except
7
.global _lpint_except
8
.global _align_except
9
.global _illegal_except
10
.global _hpint_except
11
.global _dtlbmiss_except
12
.global _itlbmiss_except
13
.global _range_except
14
.global _syscall_except
15
.global _res1_except
16
.global _trap_except
17
.global _res2_except
18 319 lampret
 
19 505 lampret
_buserr_except:
20
_dpf_except:
21
_ipf_except:
22
_lpint_except:
23
_align_except:
24
_illegal_except:
25
_hpint_except:
26
_dtlbmiss_except:
27
_itlbmiss_except:
28
_range_except:
29
_syscall_except:
30
_res1_except:
31
_trap_except:
32
_res2_except:
33
        l.addi r11,r11,20
34
        l.addi r11,r11,21
35 319 lampret
        l.rfe
36 505 lampret
        l.addi r11,r11,22
37
        l.addi r11,r11,23
38 319 lampret
        l.nop
39
 
40
.org 0x2000
41
 
42
_main:
43
        l.nop
44
        l.addi r11,r0,1
45
_loop:
46 505 lampret
        l.addi r11,r11,1
47
        l.addi r11,r11,2
48 319 lampret
        l.sys 13
49 505 lampret
        l.addi r11,r11,3
50
        l.addi r11,r11,4
51
        l.addi r11,r11,5
52 319 lampret
        l.nop
53
        l.nop
54
        l.nop
55 505 lampret
        l.movhi r9,hi(0xdeadde74)
56
        l.ori   r9,r9,lo(0xdeadde74)
57 564 lampret
        l.add   r3,r11,r9
58
        l.jal   _report
59 319 lampret
        l.nop
60 564 lampret
        l.jal   _exit
61 319 lampret
        l.nop
62
 

powered by: WebSVN 2.1.0

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