skapi.s
506 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* make nmi call to SK handlers */
#include "sk.h"
.text
.align 2
.globl sk_entry1
.type symbol,@function
.ent sk_entry1
sk_entry1:
li v0, 0
SK_ENTRY_AND_RETURN
.end sk_entry1
.text
.align 2
.globl sk_entry2
.type symbol,@function
.ent sk_entry2
sk_entry2:
li v0, 1
SK_ENTRY_AND_RETURN
.end sk_entry2
.text
.align 2
.globl sk_entry3
.type symbol,@function
.ent sk_entry3
sk_entry3:
li v0, 2
SK_ENTRY_AND_RETURN
.end sk_entry3
#if 0
.data
.align 2
hack_retval:
.space 4 /* 4 bytes */
#endif