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




















                           
.global __setjmp
.global _setjmp
.global setjmp
.type   __setjmp, @function
.type   _setjmp,  @function
.type   setjmp,   @function
__setjmp:
_setjmp:
setjmp:
	add   #36, r4
	sts.l  pr,   @-r4
	mov.l  r15   @-r4
	mov.l  r14,  @-r4
	mov.l  r13,  @-r4
	mov.l  r12,  @-r4
	mov.l  r11,  @-r4
	mov.l  r10,  @-r4
	mov.l  r9,   @-r4
	mov.l  r8,   @-r4
	rts
	 mov  #0, r0