summaryrefslogtreecommitdiff
path: root/src/setjmp/arm/longjmp.s
blob: 690a008999a049d471c35bac57a007d377b9c669 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
.global _longjmp
.global longjmp
.type _longjmp,%function
.type longjmp,%function
_longjmp:
longjmp:
	mov ip,r0
	movs r0,r1
	moveq r0,#1
	ldmia ip!, {v1,v2,v3,v4,v5,v6,sl,fp,sp,lr}
	tst lr,#1
	moveq pc,lr
	bx lr