summaryrefslogtreecommitdiff
path: root/src/setjmp/m68k/setjmp.s
blob: 15e549b0efc1f4909bc3b7329dd308ddbddc0790 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.global ___setjmp
.hidden ___setjmp
.global __setjmp
.global _setjmp
.global setjmp
.type __setjmp,@function
.type _setjmp,@function
.type setjmp,@function
___setjmp:
__setjmp:
_setjmp:
setjmp:
	movea.l 4(%sp),%a0
	movem.l %d2-%d7/%a2-%a7,(%a0)
	move.l (%sp),48(%a0)
	fmovem.x %fp2-%fp7,52(%a0)
	clr.l %d0
	rts