summaryrefslogblamecommitdiff
path: root/src/internal/or1k/syscall.s
blob: 177964e9044924652a422a134709a229033181a7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
                 
                 











                           
.global __syscall
.hidden __syscall
.type   __syscall,@function
__syscall:
	l.ori	r11, r3, 0
	l.lwz	r3, 0(r1)
	l.lwz	r4, 4(r1)
	l.lwz	r5, 8(r1)
	l.lwz	r6, 12(r1)
	l.lwz	r7, 16(r1)
	l.lwz	r8, 20(r1)
	l.sys	1
	l.jr	r9
	 l.nop