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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [orp/] [orp_soc/] [sw.old/] [syscall/] [syscall.S] - Blame information for rev 1780

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

Line No. Rev Author Line
1 782 lampret
#include "../support/spr_defs.h"
2
 
3
.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
 
19
_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
        l.rfe
36
        l.addi r11,r11,22
37
        l.addi r11,r11,23
38
        l.nop
39
 
40
.org 0x2000
41
 
42
_main:
43
        l.nop
44
        l.addi r11,r0,1
45
_loop:
46
        l.addi r11,r11,1
47
        l.addi r11,r11,2
48
        l.sys 13
49
        l.addi r11,r11,3
50
        l.addi r11,r11,4
51
        l.addi r11,r11,5
52
        l.nop
53
        l.nop
54
        l.nop
55
        l.movhi r9,hi(0xdeadde74)
56
        l.ori   r9,r9,lo(0xdeadde74)
57
        l.add   r3,r11,r9
58
        l.jal   _report
59
        l.nop
60
        l.jal   _exit
61
        l.nop
62
 

powered by: WebSVN 2.1.0

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