summaryrefslogtreecommitdiff
path: root/src/internal/m68k/syscall.s
blob: 9972a34ddb9052d9616a2c547d139679c3ab6e01 (plain) (blame)
1
2
3
4
5
6
7
8
9
.global __syscall
.hidden __syscall
.type __syscall,%function
__syscall:
	movem.l %d2-%d5,-(%sp)
	movem.l 20(%sp),%d0-%d5/%a0
	trap #0
	movem.l (%sp)+,%d2-%d5
	rts