summaryrefslogblamecommitdiff
path: root/src/setjmp/sh-nofpu/longjmp.s
blob: cda482c5478762bae3d2f0e091c860a2349da0cc (plain) (tree)





















                           
.global _longjmp
.global longjmp
.type   _longjmp, @function
.type   longjmp,  @function
_longjmp:
longjmp:
	mov.l  @r4+, r8
	mov.l  @r4+, r9
	mov.l  @r4+, r10
	mov.l  @r4+, r11
	mov.l  @r4+, r12
	mov.l  @r4+, r13
	mov.l  @r4+, r14
	mov.l  @r4+, r15
	lds.l  @r4+, pr

	tst  r5, r5
	movt r0
	add  r5, r0

	rts
	 nop